How can I decrease the line height in image captions like this one?
Hey John,
Please try the following in Quick CSS under Enfold->General Styling:
p.wp-caption-text {
line-height: 16px;
}
Best regards,
Rikard
Thank you Rikard. That worked.
In my case, using Enfold Child, the pages don’t find the custom css in Quick CSS under Enfold->General Styling: I have to add it via Appearance>Theme File Editor>style.css
I don’t know why that is. I’m hoping that those custom settings in the Theme File Editor will remain after a theme update.
Hi,
Thanks for the update. Do you have an example of CSS not applying to pages?
Best regards,
Rikard
Yes I do. I have now commented out the css in Theme File Editor https://www.screencast.com/t/s1PZRoXJT4Gv
I’ve restored the CSS in General Styling > Quick CSS. I’ve made the line height 4px so it is easy to see if the CSS is applied
https://www.screencast.com/t/6qMamC7EQB
As you can see, it doesn’t flow through to this caption for example in https://palmcovevision.au/about
https://www.screencast.com/t/wyDQdQE0Tu
Works fine if I add it to the Theme File Editor. Just want to make sure that I don’t lose these custom settings on theme updates. Enfold support has admin access. It raises the question though as to when to add to Quick CSS and when to add to Theme File Editor.
Hi,
You had shortcode in the Quick CSS box, that why it wasn’t applying:
[av_hr class='invisible' height='1' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello' custom_class='']
Best regards,
Rikard