Site logo

Archived topic

Increasing CPL in posts on mobile.

3 replies · Started by uche on December 25, 2017

Viewing posts 1–4 of 4

Hello Leo,
I apologise for starting this thread on a work-free day such as today(Christmas day) i hope u forgive me.
I would appreciate your help in this. I need to reduce the left and right indent of my posts to get a wider text/CPL(character per line) on mobile. Only on mobile as the desktop view is okay. This is an example of the left and right indent I would want for my posts — https://neilpatel.com/blog/reddit-get-traffic/
Could u help me with the right CSS to get a wider CPL. The font size is 15px and max-width is 768px
Thanks.

P.S- the WP show posts plugin works great.

Hi there,

You can change the mobile content padding with this CSS:

@media (max-width: 768px) {
    .one-container .site-content {
        padding: 10px;
    }
}

Yeah. It works perfect. The CSS is just perfect. Thanks Leo and Happy Holidays.

No problem!

You as well :)

This archived topic is closed to new replies.