Viewing 29 posts - 1 through 29 (of 29 total)
  • Author
    Posts
  • #1426273

    Good morning,
    I am updating my site under enfold (https://www.drone-ardeche.com . I added a category to my main menu, which caused a problem displaying the menu between 1570 pixels and 970 (tablet version). I would therefore like to change the size of the break point, to switch to the mobile menu from 1570px. Would it be possible to give me a CSS code? Maybe there is a simple way to personalize it but I don’t find it anymore. Thank you so much.

    #1426303

    Hey DRONE-ARDECHE,

    Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (max-width: 1570px) {
      nav.main_menu {
        display: block !important;
      }
      #avia-menu .menu-item {
        display: none;
      }
      .av-burger-menu-main.menu-item-avia-special {
        display: block;
      }
    }
    

    Best regards,
    Rikard

    #1426304

    Hello Rikard, Thank’s a lot. But it don’t work :(

    #1426311

    Hi,

    Thank you for the update.

    We adjusted the css code a bit. Please try it again and temporarily disable the Enfold > Performance > File Compression settings.

    @media only screen and (max-width: 1600px) {
      .responsive #top .av-main-nav .menu-item {
        display: none;
      }
    
      .responsive #top .av-main-nav .menu-item-avia-special {
        display: block;
      }
    }
    

    Best regards,
    Ismael

    #1426326

    Hi Ismael,

    Thank’s for code. I’ve try, but it don’t work too :(

    Best regards,

    Paul

    #1426332

    Hi,

    Thanks for the update. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1426333

    Hello,

    Thank’s a lot. I’ve do.

    Best regards,

    Paul

    #1426350

    Hi,

    Thanks for that. I’ve added it for you, and it’s applying to your site now. Please note that you have to use this syntax to add comments in CSS: https://www.w3schools.com/css/css_comments.asp

    Best regards,
    Rikard

    #1426353

    Hi,

    Perfect, thank’s a lot :)

    #1426354

    But now my blog is little :( it’s not full screen :(

    #1426368

    Hi,

    I’m not sure what you mean by that, could you post a link to the page in question and try to explain the problem a bit further please?

    Best regards,
    Rikard

    #1426372

    I’ve send a screenshot. Before, my blog ans my footer was fullscreen, now they are little, but my setup is 100%

    #1426387

    Hi,

    Thank you for the update.

    The screenshot above is not accessible. Please try to use Savvyify, Imgur or Dropbox to upload and share the screenshot.

    Did you add this css code somewhere?

    .container {
        max-width: 1010px;
    }
    

    Please try to override it with this css code.

    /*
    Desktop Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the desktop view of your site */
    
    @media only screen and (min-width: 989px) {
    
      /* Add your Desktop Styles here */
      #footer .container {
        max-width: 1360px;
      }
    }
    
    

    Or try to adjust the Maximum Container Width value in the Enfold > General Layout > Dimensions tab.

    Best regards,
    Ismael

    #1426491

    Hello,
    It worked for the footer. Now I have to find a solution so that the pages, articles, and blog are back to full width :( Can you help me finish?

    Thank you

    Paul

    #1426495

    Hi,
    The posts and pages that I checked seemed to be full width, but your blog page /nos-references/ was not so I adjusted the css above to this:

    @media only screen and (min-width: 989px) {
    #footer .container,
    .container.template-blog  {
    max-width: 1560px;
    }
    }

    and now I believe it is what you wanted, I found no screenshots above so I’m not sure. Please clear your browser cache and check and if you still see any issues please link directly to the page and include a mockup screenshot of what you expect to see.

    Best regards,
    Mike

    #1428143

    Hello,
    I’m sorry, but it don’t work again :( And I want my blog in full screen like before but it don’t work too.

    #1428197

    Hi,
    Sorry I’m not sure that I understand, the posts and pages that I checked seemed to be full width.
    Please explain further and link to the page with the issue and include a mockup screenshot of what you expect to see.

    Best regards,
    Mike

    #1428200

    Hello, Thank’s. I’ve send you ;)

    #1428291

    Hi,
    For your blog page your blog page /nos-references/ I posted this css to correct:

    @media only screen and (min-width: 989px) {
    #footer .container,
    .container.template-blog  {
    max-width: 1560px;
    }
    }

    Perhaps you have a very large screen, so try this:

    @media only screen and (min-width: 989px) {
    #footer .container,
    .container.template-blog  {
    max-width: 2560px;
    }
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    Or perhap you have a error in your css file, so try adding it to your WordPress ▸ Customize ▸ Additional CSS
    After applying the css, please clear your browser cache and check.
    Please see the screenshots in the Private Content area.

    Best regards,
    Mike

    #1428316

    He, thank’s, but my breaking point don’t work and I d’ont see anything change. (Safari and chrome, Screen Apple Studio Display 27)

    #1428324

    Hi,
    This is for only the width of the page, first.
    I checked your css and you have two errors breaking your css:
    Enfold_Support_4157.jpeg
    I fix it for you, please clear your browser cache and check.
    Please note that Safari can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.
    I’m not sure what the px width for your screen, so the css has 2560px, you can adjust to suit.

    Best regards,
    Mike

    #1428326

    Hello,

    Thank’s a lot. I see that it works in connected mode, but does not work in disconnected mode :(

    #1428327

    Hi,
    I don’t understand want you mean by “disconnected mode”
    please explain further, perhaps a screenshot would help.

    Best regards,
    Mike

    #1428328

    Hi,

    Thank’s a lot. I’ve send you screenshot on private content,

    Best regards,

    Paul

    #1428331

    Hi,
    Sorry I still don’t understand what you mean by “connected” and “deconnected”?
    Do you mean if the css is “added” and “removed”?
    When I check your page it seems to be working for me.

    Best regards,
    Mike

    #1428332

    Connected to WordPress

    #1428334

    Hi,
    You mean if you are logged in to WordPress or not?
    If you don’t see it when you are logged out this means that your caching plugin has not been updated and is not showing the new css, or perhaps your server cache need to be updated, or perhaps your CDN cache needs to be updated.
    So if you are using all of these you will need the clear and update all of these.
    Typically caching doesn’t show for logged in users, so it proves that this css works. Please try clear and update your caches or disable all of them and check again.

    Best regards,
    Mike

    #1428470

    Hi,
    I’ve try with a new computer, It haven’t my website in cache. And I’ve no modification with breaking point point and no full screen blog.
    Best regards.
    Paul

    #1428490

    Hi,
    If you disable your caching plugin does the css above work for the width of the blog?

    Best regards,
    Mike

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