CSS for simple Column text

Posted in: Newspaper
Post count: 92

Hello.
I have too many Title elements on my page which marked as H1…H4 what is not good for SEO.
I desided to make some not important titles with the ordinary Column Text Element as shown here https://ibb.co/k09ZnA
Is it possible to apply css from title element (which underline a part of text with different colors) to simple Column Text element? How can I do this?
Great thanks!

Post count: 20688

Hi,

The title element heading can be h1 -> h4 – https://www.screencast.com/t/rwwdWBhrk5lP

So you want the same design as the title to apply to that text (paragraph)?

You could try something like in this example. First set a custom class to the column text so that the design doesn’t apply to all the column text elements
https://www.screencast.com/t/5lgs4lW3Icxd
Then use a CSS like this – https://www.screencast.com/t/9EdWleNcy
Code used in example is here

.myclass p:after {
background-color: #222222;
}
.myclass p:after {
content: '';
width: 50px;
height: 2px;
position: absolute;
top:100%;
left: 0;
margin: auto;
}

You could experiment with this suggestion further.

Thanks

Post count: 92

Simion, thank you – it is what I needed 🙂
I admire your theme support!

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