Change font size on posts only

hi how can i change the text size on posts only without it effecting the home page
such as here
http://2zug.co.il/מי-אתם-אמורים-להיות-בשבילם/

Hello @caspiton,

Thanks for asking. :slight_smile:

Please add following CSS under X > Theme Options > CSS to change text size in post page:

.single-post p {
    font-size: 1.3em;
}

You can change the font size values as per your requirement.

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Thanks.

sorry the css doesnt work
here is a page i want to change remember on posts only
http://2zug.co.il/האם-הוא-מתאים-לי/

Hi,

I can see you have missing close curly bracket in your Custom CSS.

Please add a close curly bracket at the last line and add the code provided by my colleague.

eg.

@media (min-width: 800px) {
    .tolb-holder figure {
        position: absolute;
    }

  .maren .tg-item-read-more, .maren .tg-item-read-more * {

    -webkit-transform: rotate(180deg)!important;
    -moz-transform: rotate(180deg)!important;
    -ms-transform: rotate(180deg)!important;
    -o-transform: rotate(180deg)!important;
    transform: rotate(180deg)!important;
}
} /* <- this bracket was missing */

.single-post p {
    font-size: 1.3em;
}

thanks for that,
but
sorry but its not working it doesnt effect the text on single blog post
please see for yourself

Amir

Hi There,

You added the incorrect custom CSS:

.single-post p {
    font-size: 1.3 em;
}

It should be like this:

.single-post p {
    font-size: 1.3em;
}

Without spacing between 1.3 and em.

Regards!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.