Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #674367

    I would like to have the “Logo and Main Menu Area” in fullwidth, but right now it is in the same width as the maximum container width.
    I have the following settings in Enfold:
    – Stretched layout
    – Logo and main menu: top header
    – Responsive site
    – Maximum Container Width: 1130px
    Is there anything I can do?

    #674414

    Hey BirgitteAlstrom,

    you could use this code inside Quick CSS field:

    .inner-container {
    width: 119%;
    left: -10%;
    }
    

    and adjust as needed.

    Best regards,
    Andy

    #675695

    Thanks, Andy. It looks fine on web and iPhone, but on iPad the logo and main menu area gets too wide, so part of the logo on the left side and part of the main menu on the right side disappears.

    #675701

    Hey!

    Please use following code instead

    .container.av-logo-container {
        max-width: 100%;
        padding: 0;
    }

    Regards,
    Yigit

    #675734

    Thanks, Yigit. For some reason it did not make it very much wider on web than originally. I had expected it to be more fullwidth on web, but still not entirely touching each side.

    On iPad it is now entirely fullwidth, so on iPad some space is needed on each side.

    #675791

    Hi,

    well, you would need to adjust the code as needed, especially for different screen sizes, where you need to add media queries.

    However, I checked your website on iPad and it looks good to me. Can you provide us screenshot showing the issue?

    Best regards,
    Andy

    #675808

    It’s because I deleted the Quick CSS code again, because it did not look good. Please find enclosed a screenshot.

    #675952

    Hi,

    use this code:

    .container.av-logo-container {
    width: 1398px;
    max-wdith: 1398px;
    }
    

    and for iPad:

    @media only screen and (min-width: 768px) and (max-width: 1024px) {
    .container.av-logo-container {
    width: 1056px;
    }}
    

    Adjust it as needed.

    Best regards,
    Andy

    #676053

    Thanks, Andy, for giving it an extra try. It did not turn out as I wished. It did not change the width of the logo and main menu area. Instead the mobile menu disappeared in portrait format on the iPad. I will leave it for now and might get back to the issue at a later stage.

    #676336

    Hi,

    of course for portrait mode you need different media queries. Check this page for more information about media queries: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/

    Best regards,
    Andy

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