Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #496176

    On my site, I have http://www.theblondhemian.com/ I have the top log in the centre but when sized down to mobile mode, the logo jumps to the left instead of staying in the centre. Where do I change that so it stay in the center all the time. I also would like that light grey line to disappear when switch to mobile mode.

    Thank you

    #496246

    Hi jackthepilot!

    Your logo jumps there, because the menu area is on the right.
    Where you will move the menu area?

    Cheers!
    Basilis

    #543933

    Hi there Basilis

    Just picking up this thread. I would like to keep my logo centred on mobile screens but in my case I no menu. It is a single page site with no menu items. Is it possible to keep the logo centred in this instance?

    http://tyringhamhall.com/

    Thanks very much indeed

    #543983

    Hey!


    @jaroljmek

    Please insert the following css into your custom css section:

    @media only screen and (max-width: 767px)
    .responsive .logo img {
        padding-right: 30% !important;
    }

    Cheers!
    Dake

    #544212

    Hi there,

    Thanks for the reply.

    1. That CSS doesn’t seem to work but I found this in another thread that works for iPhone portrait:

    @media only screen and (max-width: 767px) {
    .responsive.html_header_top.html_logo_center .logo {
    left: 25%;
    position: relative !important;
    }}

    2. Is it possible to add a version of this CSS to centre the logo when iPhone is in landscape mode, i.e. with a min- and max-width instruction i.e. 360-640 or similar?

    3. One a similar issue, the first section of this one page site is a Full Screen Slider. The Title and Body Captions don’t centre correctly on iPhone Portrait (“TYRINGHAM HALL A mystery school…”. Any clues how to solve this?

    http://tyringhamhall.com/

    Thanks very much again!!

    #544969

    Hey!

    Please remove the modifications then use this instead:

    @media only screen and (max-width: 767px) {
    .responsive #top .logo, .responsive #top .logo a {
        text-align: center;
    width: 100%;
    }
    
    .responsive .logo img {
        display: inline-block;
        position: relative;
        top: 30px;
    }
    }

    This will take care of the portrait and landscape view.

    Best regards,
    Ismael

    #545023

    Hey Ismael

    Thanks for that solution. That’s great for centering the logo. Can you help with two more small issues relating to mobile:

    1. Mobile screen: the full screen slider title and caption (my first content section) does not centre correctly on mobile

    2. Mobile header: is it possible to adjust the height of the mobile header? I’d like to make it narrower to match the size of the logo.

    Thanks so much!

    #545291

    Hey!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 767px) {
    .responsive #header_main .container {
        height: 90px !important;
    }}
    @media only screen and (max-width: 480px) {
    .responsive #top .slideshow_caption h2 {
        letter-spacing: 17px;
    }}

    Cheers!
    Yigit

    #610907

    In regards to adjusting the header height – the code provided worked great but now I can see the background color of the logo spilling over the header container. Is there a way to set the logo’s background color to transparent?

    #610924

    Hey!

    @jaro let us know if you need any help!

    @peanuttario please share the link to the site where we can inspect the element in question.

    Cheers!
    Vinay

    #611514

    Here it is! Thanks!

    #611699

    Hi,

    You have set the background for all element to black !important in your CSS so this might not work, but you can try it:

    @media only screen and (max-width: 990px) {
    strong.logo a {
    background-color:transparent !important;
    }
    }

    Best regards,
    Rikard

    #612127

    Hi Rikard! Thanks for pointing out that I had the element set to black. I took it out from this line of code and it resolved the issue. You can close this ticket :)

    @media only screen and (max-width: 990px) {
    #header, #header * { background: white !important; }
    #header {
    position: fixed !important; }

    #612415

    Hi,

    Great, glad we could help :-)

    Best regards,
    Rikard

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Center the logo’ is closed to new replies.