Archived topic
Changing text size in a shortcode plugin
4 replies · Started by Nicola on August 19, 2018
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
Hi there,
Try this CSS:
.su-spoiler-title {
font-size: 20px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
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
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
No problem :)