Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
  • #657194

    Hey Mathilde,

    Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,


    Yes of course, sorry, here it is (private content). And wish also that the logo is a bit smaller on mobile.


    Hi, is it possible?



    The site is on maintenance mode. Did you enable the sticky header? Or did you add css modifications? On mobile view, the header should not stick to the top because the position is set to relative.

    Best regards,


    Hi Ismael, The header is enabled to sticky on desktop, but would very much like it to be relative on mobile. I tried to set it to relative on mobile.

    Best regards, Mathilde



    The logo is relative already but the header is positioned fixed so logo appears to be fixed since it is inside the header. To make the header relative Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    @media only screen and (max-width: 767px){
    .responsive #top #wrap_all #header {
        position: relative!important;

    Best regards,


    Hi Vinay,
    Thanks, now it’s all relative, but it’s only the logo that I wish to be relative, not the header, and the hamburger (which is fixed). And also that the logo still overlaps the content like on desktop view. Is it possible to have the fixed white header still? And also get the content more up? And how to get logo centered fully both in mobile and tablet also while moving the screen horizontal?
    Thanks a lot,
    Kindly regards, Mathilde



    As mentioned the logo is already relative. Are you trying to show the logo within the header area? the height of the logo is more than the header so it is bound to extrude. Reduce the logo height to around 55px. If this is not what you want please post us a screenshot/mockup of what you would like to achieve? You can upload the screenshot to or dropbox and share the link here :)

    @media only screen and (max-width: 767px) {
    .responsive .logo a, .responsive .logo img {
        height: 50px !important;
        max-height: 50px !important;    
        top: -20px!important;

    Best regards,


    Hi, thanks for quick reply.
    Here’s the css for the responsive logo I have now:
    @media only screen and (max-width: 767px) {
    .responsive .logo a, .responsive .logo img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    max-width: 100%;
    height: 80px !important;
    max-height: 80px !important;
    width: auto;
    top: -7px;
    .responsive .logo {
    position: relative;
    display: block;
    width: 100%;
    .logo img {
    left: 40% !important;
    transform: translateX(-40%) !important;

    It looks the way I want, but on scroll I want only the logo to be relative and scroll away, but that the header is fixed still.
    The logo is centered now, but not when I move my mobile to horizontal view it’s not.

    This is how it look now which I like:

    This is horizontal view that I don’t like:
    with too much space in header and not centered logo

    This is view on scroll where I like the hamburger and white fixed header, but not that the logo is fixed and showing on scroll.

    Kindly regards, Mathilde


    Did you manage to find a solution for this? I like the appoach of keeping the hamburger fixed and the logo relative and would like to apply the same to my site.



    Hi, I’ve got the logo centered now also on horizontal view. Logo still fixed, but maybe it’s best to have it like that. It would be nice to know how to have it relative though for other future sites, maybe we can ask Kriesi for that option, to choose this in the in header styling.



    feel free to make a feature request for Kriesi here:

    Best regards,

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.