-
AuthorPosts
-
November 22, 2023 at 4:28 pm #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.November 22, 2023 at 7:40 pm #1426303Hey 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,
RikardNovember 22, 2023 at 7:44 pm #1426304Hello Rikard, Thank’s a lot. But it don’t work :(
November 23, 2023 at 5:37 am #1426311Hi,
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,
IsmaelNovember 23, 2023 at 10:00 am #1426326Hi Ismael,
Thank’s for code. I’ve try, but it don’t work too :(
Best regards,
Paul
November 23, 2023 at 11:32 am #1426332Hi,
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,
RikardNovember 23, 2023 at 11:36 am #1426333Hello,
Thank’s a lot. I’ve do.
Best regards,
Paul
November 23, 2023 at 3:56 pm #1426350Hi,
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,
RikardNovember 23, 2023 at 4:24 pm #1426353Hi,
Perfect, thank’s a lot :)
November 23, 2023 at 4:33 pm #1426354But now my blog is little :( it’s not full screen :(
November 24, 2023 at 8:14 am #1426368Hi,
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,
RikardNovember 24, 2023 at 9:09 am #1426372I’ve send a screenshot. Before, my blog ans my footer was fullscreen, now they are little, but my setup is 100%
November 24, 2023 at 10:22 am #1426387Hi,
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,
IsmaelNovember 26, 2023 at 6:09 pm #1426491Hello,
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
November 26, 2023 at 8:35 pm #1426495Hi,
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,
MikeDecember 14, 2023 at 5:40 pm #1428143Hello,
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.December 15, 2023 at 11:41 am #1428197Hi,
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,
MikeDecember 15, 2023 at 11:50 am #1428200Hello, Thank’s. I’ve send you ;)
December 16, 2023 at 8:21 pm #1428291Hi,
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,
MikeDecember 17, 2023 at 9:20 am #1428316He, thank’s, but my breaking point don’t work and I d’ont see anything change. (Safari and chrome, Screen Apple Studio Display 27)
December 17, 2023 at 12:28 pm #1428324Hi,
This is for only the width of the page, first.
I checked your css and you have two errors breaking your css:
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,
MikeDecember 17, 2023 at 1:02 pm #1428326Hello,
Thank’s a lot. I see that it works in connected mode, but does not work in disconnected mode :(
December 17, 2023 at 1:27 pm #1428327Hi,
I don’t understand want you mean by “disconnected mode”
please explain further, perhaps a screenshot would help.Best regards,
MikeDecember 17, 2023 at 1:46 pm #1428328Hi,
Thank’s a lot. I’ve send you screenshot on private content,
Best regards,
Paul
December 17, 2023 at 4:10 pm #1428331Hi,
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,
MikeDecember 17, 2023 at 4:35 pm #1428332Connected to WordPress
December 17, 2023 at 5:01 pm #1428334Hi,
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,
MikeDecember 19, 2023 at 7:48 am #1428470Hi,
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.
PaulDecember 19, 2023 at 11:59 am #1428490 -
AuthorPosts
- You must be logged in to reply to this topic.