• Resolved bornagain79

    (@bornagain79)


    I am new to editing code.

    I just want this line centered on the page. I re-worded the text, but not sure what to put where in order to center it on the page.

    echo ‘<h4>’.__(‘A BRIEF OVERVIEW OF WHAT WE OFFER …’,’pixova-lite’).'</h4>’;

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • ThePixelMe

    (@thepixelme)

    In your custom CSS area or child-theme CSS, you can add one of the following:

    .home-intro h4 {
        text-align: center;
    }

    or you can also do

    #intro h4 {
        text-align: center;
    }
    Thread Starter bornagain79

    (@bornagain79)

    Thanks, that fixed it

    Thread Starter bornagain79

    (@bornagain79)

    1 more question regarding it. How do I increase the font size for it?

    ThePixelMe

    (@thepixelme)

    Just add font-size to that code, like this:

    #intro h4 {
        text-align: center;
        font-size: 24px;
    }

    Change the number as you see fit.

    Cristian Raiber

    (@cristianraiber-1)

    Seems fixed, marking as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Centering "What We Do"’ is closed to new replies.