Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #708493

    View post on imgur.com

    And how can i reduce the high of the text background. that it looks like this: http://imgur.com/a/wzZCJ

    #708871

    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

    #708981

    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`?

    #709225
    #709276

    THX. CLOSED.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘how can i bring the text to center’ is closed to new replies.