How to change font sizes in addon articles, e. g. for mobile view - Forum | JoomShaper
Solved SP Page Builder

How to change font sizes in addon articles, e. g. for mobile view

Asked by Siegfried Strassner 4 years ago Last activity 4 years ago

I am using the articles addon (last versions of SPB and Helix). How can I chance for the INTROtext the font size, attributes and line hight for mobile view?
I tried addon articles with joomla integration and addon articles with page builder integration, also I tried to change the font sizes in helix ultimate. But changing e. g. H3 in helix for mobile view, there is no effect in the article addon.
With pagebuilder integration I only can change the sizes in the articles text itselfs, but not the size of the INTROtext or the titel of the article intro.
https://www.fliederlich.de/

Accepted answer

Marked as the solution
Rashida Rahman Staff

Hi there!

Thanks for your query.

Please use the following code in your custom.css file to modify font size and line height value of the introtext for only the smaller devices:

@media (max-width: 575px){
.sppb-article-introtext {
    font-size: 20px;
    line-height: 30px;
}
}

You can modify the values to see what suits you better in the above code!

Best Regards

2 more replies

Siegfried Strassner Asked this

Hi,
thank you for your answer and help. It works.
Best Regards

Rashida Rahman Staff

Hello,

Glad that it helped and You are always welcome:)

Have a nice day!

Log in to reply.