Home Forums Free Themes Photo Perfect Centering Page Title

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11816
    jmatdrama
    Participant

    I am trying to center the Page title over the main content of the page rather than over the full width of the page. Right now it centers of the main content and the sidebar. avee@wensolutions suggested the following code to help:

    #separator-title {
    text-align: left;
    margin-left: 260px;
    }

    The only problem with this code is that is works if the window is not maximized or if the monitor is smaller. If I maximize, it shifts to the left quite a bit. Is there any way to center it over the left column since the right column (approximately 1/3 of the screen) is the sidebar?

    #11817
    wensolutions
    Keymaster

    Hello @jmatdrama

    Try adding below custom CSS:

    #separator-title {
        margin-right: 25%;
    }

    Hope this will help to resolve this issue.
    Let us know how it goes.

    Regards!!!

    #11820
    jmatdrama
    Participant

    Thanks! That worked great.

    #11821
    wensolutions
    Keymaster

    Hello @jmatdrama

    Nice to know that the problem has been solved. If there are any further query, then, please feel free to post them.
    We will really appreciate if you could help us too by rating our theme in WordPress repo here:-
    https://wordpress.org/support/view/theme-reviews/photo-perfect

    Best Regards
    CHEERS!!!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.