Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author Access Keys

    (@access-keys)

    Hi there,
    We’re not sure align center on top the site logo, please elaborate it and also provide us your siteurl so we can help you.
    Thanks,

    Thread Starter Giulia_Arteimmagine

    (@giulia_arteimmagine)

    Hi!

    here is the website
    https://prova2.studioarteimmagine.it/wordpress/

    I added this link on the Header php file
    <img src=”https://prova2.studioarteimmagine.it/wordpress/wp-content/uploads/2015/01/bercella-usa-logo1.png&#8221; style=”height:100px; margin-bottom:5px”>

    After
    <div class=”mid-content clearfix”>

    Have you had any luck yet? I am looking to do the same thing. None of this works, but I tried CSS

    img.site-logo {
    margin-left: 23.55rem;
    }

    But it creates a horizontal scroll on a mobile device. It may need some type of screen class unless I am already going down the wrong path

    img.site-logo {
    margin-left: 23.55rem;
    }
    @media screen and (max-width: 600px) {
    img.site-logo {
    margin-left: 0;
    }
    }

    I also tried a float center, since float: right; moved it over to the right.

    img.site-logo {
     float: center;
    }

    I tried to wrap my image in header.php with center and right. Center did nothing and right went almost all the way right.

    <div style="float:right;">
    /* image infomration here */
    </div>

    Maybe this will help you down the path. Please post back if you figure it out.

    Hi,

    I think I got it and still have some of my hair left.

    Try:

    element.style {
    margin-left: auto;
    margin-right: auto;
    display: block;
    }

    Theme Author Access Keys

    (@access-keys)

    Hi Giulia_Arteimmagine,
    Did you solved your problem as per suggested by the wldwil. Please let us know if we could be of any help.
    Thanks,

    How about going to ‘Theme Options >> General Settings >> Select Header Layout’ and selecting the second header layout that has your logo centered at the top with the menu centered below your logo.

    Thread Starter Giulia_Arteimmagine

    (@giulia_arteimmagine)

    Hi Admin
    yes i previously solved the problem by editing the header css

    at the end i decided to aligned left the logo
    thanks for the support

    g.

    Theme Author Access Keys

    (@access-keys)

    Hi there,
    Has the problem been solved ? If yes can we mark this thread as resolved ?
    Thanks,

    Thread Starter Giulia_Arteimmagine

    (@giulia_arteimmagine)

    Yes thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to align center site logo’ is closed to new replies.