Hi fgossieaux,
Thank you for notifying us of the small issue. We have released an update which should allow you to use the font-family and font-size sections of the styling tab.
Also, be sure to write “px” or “em” after the size 🙂
Let us know how it works out for you!
Best regards,
Thanks for doing this, but it still does not seem to work. Here is what I put in both my theme CSS customization and in your plugin custom css…neither would change anything:
.ufaq-faq-title-text {
font-family: roboto, sans-serif;
font-size: 15px;
}
.ufaq-faq-category-title {
font-family: fira sans, sans-serif;
font-size: 22px;
}
Hi fgossieaux,
The issue was stemming from the styling page itself. First, remove or comment out the custom CSS that you have under both the theme, and the plugin’s custom CSS. You should be able to style your plugin without the need of custom CSS, as it will generate it automatically. It is found under the dashboard > FAQs > FAQ Settings > Styling.
Under FAQ Question, there is Font Family, in which you may type in Roboto and the Font size would be 15px . Then, you would only have to save your changes, and it should display properly on your front-end.
When the element is inspected, the CSS code shows the following:
div.ufaq-faq-title h4 {
font-family: Roboto !important;
font-size: 15px !important;
}
The CSS given might have not been shown due to the h4 tag within the divider.
Let us know if the styling tab works for you properly. 🙂
Best regards,
Thanks, but I had not decided to upgrade to the premium version yet.
Hi fgossieaux,
In this case, the code should be updated as the previous one sent. The reason for which your code was not overriding the default styling is just due to the missing h4 tag. 🙂 It should look like this:
div.ufaq-faq-title h4 {
font-family: Roboto !important;
font-size: 15px !important;
}
div.ufaq-faq-category-title h4{
font-family: Fira sans, sans-serif !important;
font-size: 22px;
}
Hope you will continue using our plugin. Do not hesitate to contact us for additional information. We will be glad to help you!
Best regards,