-
Posts
9 -
Joined
-
Last visited
Reputation Activity
-
Manu67 got a reaction from lesu-wacosi75 in How to add a title to blog landing page 7.0
Hi,
I've got the same question on how to add a small introduction to the blog page itself. I guess this code could answer but the "5ecc68a1e3d0ce7bf222b572" key seems to be personnal.
Our web site : digitalsace.fr
Many thanks in advance
body#collection-5ecc68a1e3d0ce7bf222b572 h1.entry-title:after { content: "enter your text here enter your text here"; display: block; font-size: 16px; } -
Manu67 reacted to kickmouth in Put blog titles in H2 on the blog welcome page
Hi @melody495
As far as I can tell, your solution only changes the font-size style of the H1 tag to be the size of another H tag.
I think maybe what @Manu67 (which is why he tried the code that didn't work), myself and many others are looking for is a way to change the H1 tags to H2 tags for SEO purposes - I assume this cannot be achieved by adjusting the site styles method you suggested.
Would you happen to know how to do that?
Thanks
-
Manu67 reacted to tuanphan in How to add a title to blog landing page 7.0
You can use this new code
body.view-list [data-section-id="61b9bb53963c00104414e46f"] .content-wrapper .content:before { content: "What do they got in there? King Kong? Hey, you know how I'm, like, always trying to save the planet?"; text-align:center; position: absolute; left: 50%; transform: translateX(-50%); top: 0; } @media screen and (max-width:767px) { body.view-list [data-section-id="61b9bb53963c00104414e46f"] .content-wrapper .content:before { display: none; } body.view-list [data-section-id="61b9bb53963c00104414e46f"] div#block-yui_3_17_2_1_1639562063313_3002:before { content: "What do they got in there? King Kong? Hey, you know how I'm, like, always trying to save the planet?"; text-align:center; margin-bottom: 30px; display: block; } }
-
Manu67 reacted to tuanphan in How to add a title to blog landing page 7.0
Your screenshot is Page Header Code Injection, to add code to this position, you need to use this new code
<style> h1.entry-title:after { content: "enter your text here enter your text here"; display: block; font-size: 16px; } </style>
You mean add text to this position?
-
Manu67 got a reaction from melody495 in Put blog titles in H2 on the blog welcome page
Thanks Melody