How to increase the space around the H1 (top, bottom) in the mobile theme?

Posted in: Newspaper
Post count: 361

Where can I increase the space around the H1 (Post Title) in the mobile theme? I want to have more blank space between the post title and the start of the content.

Thank you very much!

Greetings Kathrin

Post count: 18283

Hello !

That can be achieved using this css code: header .entry-title {
margin-top:15px;
margin-bottom: 15px;
}

The codes must be inserted here: https://www.screencast.com/t/fyP7TBVPWvhQ

Thank you !

Post count: 361

Ok. But is there also a way to do it in the style.css for the mobile theme? If yes, where I can find it in the style.css?

Greetings Kathrin

Post count: 18283

Hello !

This is something that we have done using the inspector for Google chrome and we wrote the code. Codes like this cannot b found in the original file.

Thank you !

Post count: 361

The code works but causes an layout shift 🙁 At first the H1 and the content are loaded with the originally defined space between them and after some miliseconds the new defined increased space is shown. Is there a way to put these part of code in the style.css directly?

Greetings Kathrin

Post count: 35449

Hi,

If you want to set these changes in mobile theme file style, you can do it in this file wp-content/plugins/td-composer/mobile/style.css search for “header .entry-title ” -> https://i.imgur.com/gVCaVSm.png hope this will help you!

Thank you!

Post count: 361

Thanks that works perfectly!!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.