Block header 1 – issues

Posted in: Newspaper
Post count: 5

Hey guys. After update, the block header 1 seems to have some problems.
Whenever I choose a background colour for the title, it will only colour the line beneath the text, but not the background of the text itself.

It only happens with BH-1. BH-3 has no problems. My website is http://leviathan.ro.

Have fun and nice job;)

Post count: 22421

Hello,

The Style of the block headers if left on default (header 1) it will show the header style aded by the theme demo you have installed. in your case bh1 is this header: https://www.screencast.com/t/X0mNVID8x
It features just a line and a transparent background. It’s the demo style applied to the demo. I have tested BH1 on the default demo and it changes the color without issues but in your case the demo style applies a transparent background to the title.
Bh3 has no issues with background colors or text colors: https://www.screencast.com/t/VVLVEsIPmNp

Thank you!

Post count: 36

I have the same issue with Block header 1. I need to colour the text and the line but it will only colour the line beneath the text, but not the background of the text itself.
I have installed News Magazine Demo.
How did you solved this issue ?

Post count: 23312

Hello fquiquet,

Please provide your website URL so I can take a closer look at it. Also, provide some useful screenshots so I can see what exactly you want to change.

Thanks.

Post count: 36

Find here my website : http://www.unmondedaventures.fr/

Post count: 23312

Hi,

What is not ok here? What exactly do you want to modify? Provide more details with some useful screenshots.

Thanks.

Post count: 36

Post count: 23312

Hello fquiquet,

This is the default style for that demo, sorry! You should try using a bit of CSS code to achieve this. Try the code below and place it in Theme panel -> Custom CSS area.

The code is ->

.td-theme-wrap .block-title > span{
color:white!important;
background-color:black!important;
padding-left:10px!important;
}
.block-title{
border-color:black!important;
}

The result is here -> https://www.screencast.com/t/pHiPssn9m

Thanks.

Post count: 36

OK, it’s working but now how to have a different color for each header like here https://demo.tagdiv.com/newspaper/block-header-1/

Post count: 23312

Hello fquiquet,

This can be set for each block from Td Compose or Visual Composer from Block settings, like this -> https://www.screencast.com/t/yT6m6c1s

Thanks.

Post count: 36

It doesn’t work because the custom CSS override all customisation. Right ?

Post count: 23312

Hello fquiquet,

Yes! If you want to change this style you should add the above code which I gave you above directly in style.css and then you can customize each block header from the composer.

Thanks for your understanding!

Post count: 36

ok but at which level in style.css ?

Post count: 22421

You can add it ad the very bottom of the style.css file.
Thank you!

Post count: 36

No, it doesn’t work

Post count: 20688

Hi,

I believe this is a misunderstanding, hopefully we can solve it. Each available demo has it’s own custom design. Installing it will import a demo stylesheet, this may overwrite default styles and designs.
The magazine demo has a condition set for the block titles in it’s stylesheet
https://www.screencast.com/t/hoWCoi1Ohi5
The result is that the block titles background is transparent, only the border color is affected by changing the background color.
If you were to remove the code shown in the screenshot, the background of the block titles will have default functionality
https://www.screencast.com/t/cg1hoKIop
You can then customize the blocks with the composer and set the colors as you wish
https://www.screencast.com/t/oWEQeliiJqg

Thanks

Post count: 36

It’s working but the text is always black even if I change the color

Post count: 36

and the font seems to be very strong. How can I delete all customisation of the block header 1 ?

Post count: 20688

Hi,

The individual settings for each block should apply after you remove that code in the demo stylesheet
https://www.screencast.com/t/IqGCx3cw3q
https://www.screencast.com/t/AwdGKUDHU
These individual settings should override the general header color set by the demo here
https://www.screencast.com/t/j7KgXmfw3sEo
Try clearing that color in the theme color settings, edit the page with the composer and set the desired colors for the text
https://www.screencast.com/t/YEDjyGDIGo4
The font properties for the block titles can be customized in the theme panel, there you can modify the font weight imported by the demo
https://www.screencast.com/t/r9ApeCYsjU
Please let us know if there are further issues, or you have more questions.

Thanks

Post count: 36

All is OK now
Thank you very much for your help
You can close this ticket

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