Targeting multiple classes in Shortcode

So I want to change the properties of two different classes in the same shortcode. In the stylesheet,  targeted them and I used the comma to separate them. However, only the .CES title changes properly to be smaller but not SheFit. Also, the date of .SheFit is larger which I dont understand at all.

 I am working with the fancy title shortcode and the goal is to make ONLY the CES and SheFit titles smaller by grouping them using the same rule.

image - CES class

image - SheFit Class

image - CSS Declaration


Comments

  • Also this  is a screenshot of the result on the front end.

    This is the desired result. I go this by separating the two classes and creating 2 separate declarations. Like this:

    .CES .fancy_heading .title {
       font-size: 32px;
    }

    .SheFit .fancy_heading .title {
       font-size: 32px;
    }

     But I want them grouped. So thats where I need help

  • Hi,
    Please always attach a link so we can check it out. If the page is offline(localhost) then our help will be limited, you will have to contact us when the page is online. Also please make sure that the page is not under maintenance before you provide us the link.
    It is always a good idea to also attach a screenshot, for that use services like snag.gy or pasteboard.co

    thanks
  • Sorry about that, here is the link; ujunwasanwa.com
  • I cannot access your page.
    "Coming soon" page is turned on, can you disable it?

    Also, when you group them like this, is it not working?

    .CES .fancy_heading .title, .SheFit .fancy_heading .title {
       font-size: 32px;
    }

    Thanks
  • If I disable it, how do I re-enable afterwards?

     And no I tried every combination except that one! I will do that now.
  • This is not our 'coming soon' page.
    But, it must be re-enabled if this is enabled.
    Cheers
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.