Hello,
Since update 7.0 SVG icons problem
With previous versions of Enfold, I replaced the default icons of Enfold like the magnifying glass, the basket, the social icons, back to top and others according to the several different sites that I have under Enfold.
Now that these icons are called in SVG automatically it does not work anymore.
I used a solution found on your documentation or support.
With the functions.php and the avf_default_icons filter.
Example : $icons[‘search’] = array( ‘font’ =>’flaticon’, ‘icon’ => ‘uf163’);
Would it be possible to disable SVG icons?
Do you have another solution?
Kind regards,
container width is all up to you / your customer – but i just asked if this is what he likes to have.
You should clarify this somehow before you have then to rewrite a whole series of css rules.
PS : please refresh after merging switch off the cache. On performance – “Delete Old CSS And JS Files?”
btw: https://kriesi.at/support/topic/burger-menu-12/
Why? – Look at opened burger menue.
maybe this is better instead:
(remove that display none for burger after container and add this rule instead)
.responsive:not(.av-burger-overlay-active) .av-hamburger-inner:after {
display: none;
}
there are older css rules inside that are not needed – so i could not find where f.e. the after pseudo-container of the hamburger is gone.
this is what it seems to get your style:
#top #header #header_main .container.av-logo-container .inner-container > * {
align-self: center
}
.html_header_top.html_header_sticky #top #wrap_all #main {
padding-top: 300px !important;
}
@media only screen and (max-width: 989px) {
.responsive #top #header #header_main .container.av-logo-container .inner-container {
height: inherit;
position: relative !important;
flex-flow: row wrap;
justify-content: center;
padding: 0;
}
.responsive #top #header #header_main .inner-container .logo {
flex: 1 1 100% !important;
order: 3;
max-width: 100%;
height: unset !important;
}
.responsive #top #header #header_main .inner-container .logo a {
align-self: flex-start
}
.responsive #top #header #header_main .inner-container .main_menu,
.responsive #top #header #header_main .inner-container .widget {
flex: 1 1 48%;
height: 120px !important;
align-items: center
}
.responsive #top #header #header_main .inner-container .main_menu {
order: 2;
}
.responsive #top #header #header_main .inner-container .widget {
order: 1;
}
.html_header_top.html_header_sticky #top #wrap_all #main {
padding-top: 350px !important;
}
#top #header #header_main .container.av-logo-container .inner-container .logo a img {
max-height: 200px;
}
}
Ok have done that but no change.
Please see for yourself. Open the page and narrow the window. In the beginning all text is there, then the top disappears and in the end, when the logo is also shrunk, all the text is visible again.
Please send fix.
Sorry – it was carnival here in the Rhineland (Germany) until yesterday, and that’s basically a public holiday week.
Next: it would be nice if you could disable merging in the Enfold settings until all your goals are met. It’s hard to review and give advice without using devtools.
Do you / your customer realy want that narrow content width vor desktop view?
It’s hard enough to reconcile this, but with such a narrow content area, as you’ve noticed yourself, very long menu items quickly become two-liners.
Hi,
Did you add this css in the css > layout.css file?
.responsive #top #main {
padding-top: 200px !important;
margin:0;
}
This css rule is not in theme by default. Please move the css rule in the Quick CSS field or in the child theme’s style.css file:
@media only screen and (max-width: 767px) {
.responsive #top #main {
padding-top: 200px !important;
margin: 0;
}
}
Best regards,
Ismael
Hi,
Thank you for the clarification. Unfortunately, the mega menu can only be enabled for the main menu items. It’s not available for the top bar menu.
Best regards,
Ismael
Hey tixxpff,
Thank you for the inquiry.
Where can we check the page? Please create a test page, then provide the URL in the private field so that we can test it.
Try to move the columns inside a Color Section element, add the class name “av-custom-grid-column” in the Advanced > Developer Settings > Custom CSS Class field, then add this css code:
@media (min-width: 990px) and (max-width: 1199px) {
#top .av-custom-column-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
}
Best regards,
Ismael
Hi,
Thank you for the update.
If you need to apply this modification to a specific gallery, you can use the Custom CSS Class field. Please check this documentation: https://kriesi.at/documentation/enfold/add-custom-css
In the Advanced > Developer Settings > Custom CSS Class field of the Gallery element, place the name “av-gallery-side-nav” for example, then adjust the css rule:
#top div .av-gallery-side-nav .avia-gallery-big {
float: right;
width: 50%;
}
Best regards,
Ismael
Hey chrickel,
Thank you for the inquiry.
Please add this code in the Quick CSS field:
#top .menu-item-search-dropdown > a.avia-svg-icon svg:first-child, #top .menu-item-search-dropdown > a.avia-svg-icon img[is-svg-img="true"] {
width: auto;
height: 1em;
position: relative;
z-index: 1;
stroke: var(--enfold-header-color-color);
fill: var(--enfold-header-color-color);
}
Best regards,
Ismael
Hi team,
Need some quick help with my site here: https://www.bonjiglass.com/shop/
The shop categories are currently in alphabetical order, which overall I like, but I would like the Sale one to be at the top and in Bold, so people can see it first. Outside of Sales being on top, the rest being in alphabetical order is fine. Please see: https://imgur.com/a/GIq4Doo
Also, there used to be a setting where product images would have banners when they were on sale. I used to have everything on sale, so I disabled it, but now want to turn it back on. I don’t remember if its a setting (i cant find one), or if I killed it with CSS display: none (also can’t find).
Thank you so much for all your help.
Hi guys,
The Load more button for the Masonry element stopped responding once you upgrade to Enfold 7.0 (on all my sites where I upgraded). The ones where I haven’t work fine.
Here’s one of the sites:
Tried on Chrome (cleared cache too), Firefox and Safari and it didn’t work on any of them.
Thank you!
Havi
Thx Ismael, your ccs code works fine.
I was unclear in my previous msg,
I meant that I wanted the top menu (‘Partenaires de séjours de vacances’) to be a mega menu.
As you can see I’ve checked the mega menu option but it is still displayed as a regular one, not a mega menu.
Why?
Hi,
Please try the following in Quick CSS under Enfold->General Styling:
nav.main_menu {
margin-top: 5px;
}
Best regards,
Rikard
Hey ausgesonnen,
Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 990px) {
.av-logo-container {
height: 300px !important;
}
.html_header_sticky #top .main_menu ul:first-child > li a {
line-height: 0 !important;
}
}
Best regards,
Rikard
Hi,
You have this in your child theme:
@media only screen and (min-width: 768px) and (max-width: 989px) {
.responsive.html_mobile_menu_tablet.html_header_top #top #main {
padding-top: 200px !important;
margin: 300;
}
}
Try removing the padding top argument.
Best regards,
Rikard
We experiencing the same issue:
Hello,
I need help with the header Layout on the mobile
On my phone it looks like this:
https://www.imghippo.com/i/Za3018sJc.png
however, I need it to look like this:
https://www.imghippo.com/i/ak6129BLI.jpeg
Widget left, Menu. right on the top
Logo below
Please send code how to do this
I am closing this topic now and will ask the question again.
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
If I go to a 1/1 page format then I would have to put the title on top of the photos instead of beside the gallery of images… Unless I use the Ajax feature which seems to allow for text content to appear to the left of the gallery. I’m not familiar with this option plus generally don’t like the formatting limitations and quirkyness within this text field area.
If I use your previously supplied CSS coding can I control the number of thumbnail columns with the gallery styling tools?
This page layout is a 1/3 left hand column for art title, specification and eventual description and 2/3 right hand column for gallery photos. Are you referring to the left column as a default sidebar? When creating the portfolio entry I did turn off the default sidebar there.
The question still stands “If I use a different percentage say 25% (for the large image) will the thumbnails stack (to the left) on top of one another, creating perhaps 2 columns wide over 5 rows tall?”
Hi,
We added this code in the Quick CSS field:
.responsive #top #wrap_all #main .products .product {
width: 100% !important;
}
And removed this from the Appearance > Customize > Custom CSS field:
.responsive #top #wrap_all #main .products .product {
width: 48% !important;
}
Best regards,
Ismael
This solution makes the large image too small (non-impactful) for impressive portfolio use. If I use a different percentage say 25% will the thumbnails stack on top of one another, creating perhaps 2 columns wide over 5 rows tall?
Hey JeffDale,
Thank you for the inquiry.
There is no option for this by default, but you can add this css code to adjust the width of the main image and move it to the right, effectively creating space for the thumbnails.
#top div .avia-gallery .avia-gallery-big {
float: right;
width: 50%;
}
Result:
View post on imgur.com
Best regards,
Ismael
Hi,
Thank you for the info.
We enabled the Mega Menu option for the Stage Sportif menu item. Regarding the top menu, it behaves like that because it is still essentially a link pointing to an empty anchor. If you want to completely disable it, you can add this css code.
#top #menu-item-1302 a {
pointer-events: none;
}
Best regards,
Ismael
Hi,
Please try to use the following css code, toggle or temporarily disable the Enfold > Performance > File Compression settings and make sure to purge the cache.
#top #header .av-main-nav {
right: -10px;
}
Best regards,
Ismael