Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #610808
    #610810

    Hi andrea!

    if u do remove the custom CSS, does it work?

    Cheers!
    Basilis

    #611238

    Yes it does, but without the custom css the logo appears without any padding on the desktop version which doesn’t look great as it sits right on top of the navigation. I’ve adjusted the custom header height and made the very top bar white which helps a bit. Would it be a good solution to add some white space on the logo jpg above and below, it seems that any use of padding makes the logo smaller or disappear on mobile version.

    thanks

    #611250

    Hey!

    Please change following code

    strong.logo img{
    padding: 50px 0px;
    }

    to following one

    @media only screen and (min-width: 990px) {
    strong.logo img{
    padding: 50px 0px;
    }}

    Regards,
    Yigit

    #611310

    thank you, that is working nicely for desktop, but i could do with some padding on the mobile version as the logo sits right on top of the content with no gap. can you suggest some code for mobile?

    Also, is it a problem having lots of custom css as mine is getting quite long – is there any issue with it slowing down the site or is it nothing to worry about. and is there a way of labelling each line/snippet of code so I can remember in the future what it does?

    thanks so much for your help today.

    #611323

    Hey!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 989px) {
    strong.logo img{
    padding: 10px 0px;
    }}

    Your site does not have that much custom CSS compared to other sites and you should not worry about it slowing down your site :)

    You are welcome. Helping fellow Enfold users makes us happier! :)

    Cheers!
    Yigit

    #611361

    Thank you – is there a way to label each snippet? as that would be really helpful for future sites.

    #611380

    Hi!

    You can add comments in your custom CSS as following

    /* here is my custom code for logo padding on mobile */ 
    @media only screen and (max-width: 989px) {
    strong.logo img{
    padding: 10px 0px;
    }}

    Best regards,
    Yigit

    #611407

    thanks, much appreciated

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Logo missing on smartphone view’ is closed to new replies.