Logo left align

  • Posted in : Editor
  • Alex Budr
    Participant

    How can i move logo to the left side of the main content column? I cant just replace text-align: center to text-align: left.

    serkan
    Moderator

    You can use this custom css code;

    .site-header .site-title { text-align: left; }

    Thanks

    Alex Budr
    Participant

    This is a bad solution because header container 100% width. Screenshot – http://c2n.me/3mfMggz.jpg, but i need same result – http://c2n.me/3mfMggz.jpg. On mobile devices can leave the current alignment.

    I think it is a good solution to add the option of selecting the position of the logo in the theme settings

    serkan
    Moderator

    You can not control it because container width is changing with sidebar. I can give you custom css and you can set the logo to left side but without sidepar page you will have a problem again. Sorry it is not available by default.

    Alex Budr
    Participant

    Why we cant use same style for header like main content container?

    serkan
    Moderator

    Content width is different between sidebar page and without sidebar page. That is why this will not work if you want to put it between container.
    Thanks

    Alex Budr
    Participant

    is independent from main content container and .

    I tried to fix it:
    1) replace nav id=”primary-navigation” from header id=”masthead” container.

    ....

    Search for

    2) Add custom css (not sure that this best code):

    .site-main {border-top: 1px solid #E9E6DF;}

    .site-header {border-bottom: none; max-width: 1024px;}

    .site-title {text-align: left !important;}

    @media screen and (max-width: 768px) {
    .site-title {text-align: center !important;}
    .site-navigation {padding-top: 1.4em 0 0;}
    .site-header {padding: 0 0 1.4em;}
    }

    @media screen and (max-width: 992px) {
    .site-title {text-align: center!important;}
    .site-navigation {padding: 1.4em 0 0;}
    .site-header {padding: 0 0 1.4em;}
    }

    And then i get what i want. I think you can release it better than me for sidebar/no sidebar version. Maybe you can release it in next update of your theme? I belive many users think about logo align replacement.

    serkan
    Moderator

    Thanks for the feedback

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register