Site logo

[Resolved] Changing text size in a shortcode plugin

Home Forums Support [Resolved] Changing text size in a shortcode plugin

Home Forums Support Changing text size in a shortcode plugin

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #653781
    Nicola

    Hi, my apologies for having to ask this here, I’ve tried on my own to find a solution but I’m not experienced in coding and the guys at Shortcodes Ultimate won’t help with any customisation so I hope you’ll bear with me. I’m using the Shortcodes Ultimate [su_accordion] shortcode which is working nicely on my page but the title text is really small, can you tell me please how I can change the text size within the shortcode? There is a value in the shortcode itself but I think this is supposed to change the size of the content not the title and doesn’t seem to make any difference to the content size anyway. Thanks very much, Nicola

    #653855
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .su-spoiler-title {
        font-size: 20px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #654046
    Nicola

    Hi Leo, unfortunately that didn’t make any difference. I have now found the relevant CSS code in the box-shortcodes CSS file and changed the font-size value to ’18’ and font-weight to ‘normal’ (which works when I change these values using the ‘inspect’ function) but these changes are being ignored or overridden by something else. Would you have an idea why/what that is?

    Thank you,
    Nicola

    #654057
    Nicola

    Ok, that has worked! I placed the code into the Simple CSS box instead of the specific Shortcodes Ultimate CSS box they provide.

    Many thanks.
    Nicola

    #654588
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.