Block Header Style 8 using for H4

Posted in: Newspaper
Post count: 24

Hi,
I would like to change H4 for “posts” to just like Block Header Style 8.
I tried change css for H4, but it didn’t work. I understand I can change on Theme panel for “pages”.
Could you help it?

Post count: 23312

Hello Ken0929,

If you want to change the headings for the block template style 8 you should edit the theme core files and make the following changes, like this -> https://www.screencast.com/t/DuMK3ZrKJ76c Clear all the caches and check the results.

Thanks for the message!

Post count: 24

Sorry I don’t understand.
I want to change h4 design(for”post”) to the same design(block template style8).
Do I need to edit the theme core?
I edited CSS like…as below. But it didn’t work.

.td-post-content h4 {
font-size: 20px;
font-weight: 800;
margin-top: 0;
margin-bottom: 18px;
line-height: 29px;
position: relative;
overflow: hidden;
}
.td-post-content h4 > * {
position: relative;
padding-right: 20px;
color: #000;
}
.td-post-content h4 > *:before {
content: ”;
display: block;
height: 4px;
position: absolute;
top: 50%;
margin-top: -2px;
width: 2000px;
left: 100%;
background-color: #f5f5f5;
}

Post count: 23312

Hello Ken0929,

You can put that code inside the Custom CSS because the theme will load it from there or if you want, you can add it directly in style.css. Notice that all of these involves additional customizations which are not covered by our support, sorry!

Thanks for your understanding!

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