Hello is it possible to add custom classes to WP theme elements for example if I want to add a class to the header container or a widget element? I know we can add custom classes to menu links but can it go farther than just that?
Like if I wanted to add another class to the div
You can change the code any way you want, but if you are going to do that you really should create a child theme and change that instead. Any change you make to the theme itself will be overwritten when the next theme update is applied. And you don’t want to avoid keeping your theme updated.
Just go to wordpress.org and search for child themes.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.