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.