Changing styles for Shortcode use
-
I customized some styles using the Widget interface, and I would like to reproduce those changes on a page that uses the shortcode. For a simple example, I want to change the h3 font-weight. Can a new style be passed via the shortcode? What is the recommended approach?
In the thread about “Different styles per widget area“, the answer was to use a CSS ID. This approach might work for my needs, but I don’t know where I should define these new styles. E.g. should I edit the $css_defaults block in the functions.php file? I am a novice at understanding WP styles hierarchy, so if possible please be clear about which file to edit thank you.
The topic ‘Changing styles for Shortcode use’ is closed to new replies.