And how can i reduce the high of the text background. that it looks like this: http://imgur.com/a/wzZCJ
Hey alexanderjohannes,
Kindly add this code to Quick CSS (located in Enfold > General Styling):
.page-id-434 #av_section_2 .av_textblock_section {
text-align: center;
}
.page-id-434 #av_section_2 .av_textblock_section h1 {
margin: 0;
padding: 2px 10px;
}
The first code block centers the text, while the second block is for the text background height, just adjust the padding values 2px is for top and bottom while 10px is for left and right padding. Just adjust as you see fit. Hope this helps :)
Best regards,
Nikko
Thanks Nikko.
I use a cumstom css class: “hintergrundrot”
/*Text Hintergrund Normaltext*/
.hintergrundrot {
display: inline-block !important;
background: rgba(226,19,18,1);
}
I want to use the backgorund font effect more times. how can i change the code? i do not want to lose my original text alignment settings after applying the custom css class. can you help me`?
Hey!
Please refer to this post – https://kriesi.at/support/topic/center-text-and-bring-image-to-the-left/#post-709217
Regards,
Yigit
THX. CLOSED.