Thread Starter
jonhh
(@jonhh)
I added this
.ac_title_class{ font-family: 'Lato', sans-serif; !important; }
but it applied only to the title and not to the body
Can you share me your accordion page url?
Thanks
Thread Starter
jonhh
(@jonhh)
Ι develop the WordPress locally in wamp server..
Hi,
Use this css for body –
.wpsm_panel-body {
font-family: 'Lato', sans-serif; !important;
}
Thanks
Thread Starter
jonhh
(@jonhh)
Althought the text is under that class,
<div class="wpsm_panel-body"> ... </div>
the above css rule doen’t apply..
I still get these settings
#wpsm_accordion_738 .wpsm_panel-body {
background-color: #ffffff !important;
color: #000000 !important;
border-top-color: #e8e8e8 !important;
font-size: 16px !important;
font-family: sans-serif !important;
overflow: hidden;
border: 2px solid #e8e8e8 !important;
}
then try this css –
#wpsm_accordion_738 .wpsm_panel-body {
font-family: 'Lato', sans-serif; !important;
}
The inline CSS for .wpsm_panel-body is echoed inside the page <body>
with an !important
. This makes it impossible to override the font defined in the plugin with CSS from the theme’s style.
An option to disable the plugin’s font setting would be appreciated.
I’ve enabled this setting by modifing lib/admin/settings.php and front/style.php: https://dl.dropboxusercontent.com/u/480185/responsive-accordion-and-collapse.zip
Thanks Ryan for update this code.
Yes it is a feature for accordion plugin. I will surly update it in plugin code with next update.
Thanks
can’t change font family and font-size
Hi,
Can you share me you accordion page url?
Thanks
Hi wpexpert.zahid,
You will need to reupload this plugin on your site admin.
Please first delete the old package of plugin and then install latest version again on your server.
Thanks
Pls take a look at this page: http://moodyfss.com/15599-2/
I’m not for sure what is going on, but I changed the font to ariel and it work on some of the blocks and some it did not. I checked and rechecked the code; I even made a new accordion and it still did the same thing. Please help!
Hi,
Yes some code are not updated with Ariel font style.
Actually there a reason behind this , which line are not accept Ariel are embed with “code” “/code” tag. Code Tag has a font style by default is monospace.
Check this screenshot