Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1086778

    Hi Lely,

    Did you look at my last attachment?

    The two logos sit central in the footer until mobile device makes them stack.

    Let me know if I am not being clear – thanks

    #1087481
    Friech
    Moderator

    Hi There,

    Please add this on your custom CSS.

    @media (min-width:  532px) {footer .x-brand {margin-right: 30px;}}
    footer .univlogo, footer .x-brand {
    	display: inline-block;
    	float: none;
    }

    But you need to rewrite the HTML markup on the footer first. You need to have the withUS logo first then the university logo, else the withUS logo will be on the right side.

    e.g.

    <a href="http://withus.lmdev.co.uk/" class="x-brand img" title="Just another WordPress site">
      <img src="//withus.lmdev.co.uk/wp-content/uploads/2016/07/withus_logo.png" alt="Just another WordPress site"></a>
    <img src="http://withus.lmdev.co.uk/wp-content/uploads/2016/07/sheffield_uni_logo.png" class="univlogo" alt="univlogo">

    Thanks.

    #1088237

    Sorry this code is still not functioning correctly. Please see http://withus.lmdev.co.uk for the result.

    The logo’s don’t sit central until they get to tablet view – I need it on all devices.

    When they stack, the sheffield logo needs to sit top against the white line – exactly as the header menu works.

    thank you

    #1088460
    Joao
    Moderator

    Hi There,

    You had a a couple of unclosed media query tags on your code. I have fixed for you.

    Have a look and let us know if you need further help.

    Thanks

    Joao

    #1088495

    Hi,

    Yes the positioning is now correct on the desktop device BUT:

    A) It needs to retain the small space between the logos until it stacks

    B) When stacked the Sheffield logo must come first and sit against white line above

    Sorry, it’s frustrating for me too

    #1088725
    Joao
    Moderator

    Hi There,

    Please provide screenshots of what your are referring to and what you want to achieve.

    I checked your website and couldn’t notice anything based on your description.

    Thanks

    Joao

    #1091921
    This reply has been marked as private.
    #1092320
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance Customizer Custom CSS:

    
    @media (min-width: 520px) {
    .univlogo {
    margin-left: 50px;
    }
    }
    @media (max-width: 520px) {
    .univlogo {
    margin-top: -320px;
    }
    .x-colophon.top .x-column {
        margin-top: 100px;
      }   
    }

    Hope that helps

    Joao

    #1093156
    This reply has been marked as private.
    #1093176
    Joao
    Moderator

    Hi There,

    Sorry for the confusion.

    I have updated your code to:

    
    @media (min-width: 520px) {
    
    .x-colophon.top .univlogo {
    margin-left: 50px;
    }
    }
    @media (max-width: 520px) {
    
    .x-colophon.top .univlogo {
    margin-top: -320px;
    }
    .x-colophon.top .x-column {
        margin-top: 100px;
      }   
    }

    Now will just afftect the footer.

    Hope that helps,

    Let us know if you need help with anything else.

    Joao

    #1093787

    Thanks Joao,

    That’s better but it still appears like the attached on mobile landscape – could it trigger the order a bit sooner?

    thank you

    #1094233
    Nico
    Moderator

    Hi There,

    You can adjust the px numbers of min-width and max-width to achieve the best time where the arrangement of your footer.

    Hope it helps. Let us know how it goes.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1078101 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>