-
Search Results
-
I highlighted two menu items. One orange and the other green. I wish they looked like buttons. But the height is too high. I would like to lower the height.
The website can be seen here.
https://www.successionetelematica.com/
I used this code
.highlighted {
background color: #ff7514;
border-radius: 5px;
}
.highlight at, .highlight at:hover, .highlight at:focus {
color: #ffffff !important;
font-weight: bold;
}
.menu_main_nav>li>a {
padding: 6px 5px 6px;
font-size: 0.929em;
font weight: 500;
line height: 1.28em;
}
.highlighted2 {
background color: #008f39;
border-radius: 5px;
}
.highlight2 a, .highlight2 a:hover, .highlight2 a:focus {
color: #ffffff !important;
font-weight: bold;
}
.menu_main_nav>li>a {
padding: 6px 5px 6px;
font-size: 0.929em;
font weight: 500;
line height: 1.28em;
}How can I lower the height?
Thank you
Topic: font size navi widget
Hi,
would be great if anybody can give me a code for quick css for the font size and colr for the navigatione in the sidebar.
In the moment is is to small.Thanks a lot
rixiHi there!
Firstly, thank you very much for your help.
I would like to create a second type of button on the front page of my website (link included below).
I have successfully created and customized my buttons in 1 default style.
However, I would like to have a second type/class of button with different font and different size of font, on the same page as the first button.
I tried hard to read the instructions here: https://kriesi.at/documentation/enfold/button/ but am sort of confused with regards to what direction I should take – add custom CSS? But am not sure where to put it.
Thank you!
Topic: Others mobile optimization
Hello,
here I am again … to bother you. :-D
I have two problems with mobile view:- on this page https://www.fishesinvasion.com/prints/ I would like to have posts on 2 columns on mobile instead of 3 on desktop
- on this page https://www.fishesinvasion.com/articles/ I would like to have the posts in the same way as the following example https://drive.google.com/drive/folders/1MWFJoXIjHbPJwPlg1HyI0UZKpxna5w7S?usp=share_link
Finally to change the total in the cart I used the following incorrect way to get the result, it works fine, but I know there is a better way to do it.
/* total back and bold */
#after_section_1 > div > div > div > div > section > div > div > div.cart-collaterals > div > table > tbody > tr.order-total > td > strong > span {
color: black;
font-size: 14px;
font-weight: bold;
}As usual thanks in advance for you help
AndrewHi guys,
we currently maintain about 100 sites built upon Enfold and custom CSS using Quick CSS.
After your recent introduction of “Responsive Styles” within the 5.1 release nearly all of these pages broke due to Custom CSS not working anymore which worked before. In particular the new responsive styles take precedence over custom css styles and classes.
I am only writing now as we just updated our prod env to 5.1.2 and our dev sites to 5.2.1. The issues exist in both versions and only came to our attention within the live sites. Our dev env doesn’t use that much custom Quick CSS…For columns (
/config-templatebuilder/avia-shortcodes/columns/columns.php) we were able to “fix” the issues using you newly introduced filter “avf_disable_columns_responsive_margin_padding”.
For the Grid Row “cell” (/config-templatebuilder/avia-shortcodes/grid_row/cell.php) this is not possible as you hardcoded the add_responsive_styles in there (line 603 in 5.2.1) without any possibility to disable that. Even worse it is set with the “!important” modifier rendering any attempt to change the values by custom css nearly impossible.
We were only able to hotfix this within the Grid Row by using the “avf_el_styling_responsive_styles_skip” filter. Which leads to the sideeffect that the configured values for the Grid Row from the Enfold backend are now ignored and the default is always used. This is also breaking, but not as bad as before…In any way the way you added the Responsive styles seems to break backwards compat with custom CSS massively. I would kindly ask you to reconsider this feature and the way you implemented it. Custom CSS must remain to have a chance to overwrite the configured styles in the same way it did before Enfold 5.1. Alternatively we need a filter to permanently disable this feature globally(!). But that would only be the last resort in my oppinion.
As a side info: We have the following filter configured as your post css generation didn’t work with our caching rules due to the location where the css was generated to:
add_filter( 'avf_post_css_create_file', '__return_false', 10, 1 );
So you might want to set this as well to have an identical environment.I will add a test case to reproduce into the private content. Just put the shortcodes into an empty page and switch to the advanced layout builder afterwards. Then open the page on the frontend. Then add the following custom css to Quick CSS save and reload the page on the frontend.
Using the Browser DEV tools you will now see that the custom css cannot set the margin and padding anymore. That worked before and as there are many live sites out there relying on custom css this has to continue to work.
If you then add the following filters, the custom css will work again (only fhe first filter is necessary for this example):add_filter( 'avf_disable_columns_responsive_margin_padding', '__return_true' ); add_filter( 'avf_el_styling_responsive_styles_skip', '__return_true' );Quick CSS:
.open-job-boxes .job-box{ -webkit-box-shadow: 0 3px 6px 0px rgba(0,0,0,0.16); -moz-box-shadow: 0 3px 6px 0px rgba(0,0,0,0.16); box-shadow: 0 3px 6px 0px rgba(0,0,0,0.16); padding: 30px; background: #ffffff; } .open-job-boxes .job-box h3{ font-size: 20px; color: #212121 !important; font-weight: 600; margin-top: 20px; } .open-job-boxes .job-box a { background-color: #b3041c; padding: 13px 20px 11px 20px; font-size: 16px; color: #fff; text-align: center; overflow: hidden; position: relative; display: block; margin: 40px auto -51px auto; transition: 0.4s; border-radius: 0; max-width: 250px; border-color: #b3041c !important; } .open-job-boxes .job-box a:hover{ background-color: #cb001c !important; } .open-job-boxes .job-box:before{ content: ""; height: 52px; width: 52px; display: block; margin: -60px auto -5px auto; border-radius: 100px; border: 5px solid #fff; background: #b3041c; position: relative; z-index: 99; visibility: visible; }Thank you very much and best Regards,
Jan
Topic: Adaptative fonction police
Hello to everyone !
Please excuse me for my rusty english. I noticed that the size of my fonts does not adapt to different screens. Indeed with the basic settings, on a smartphone the size is perfect. On the other hand, it becomes too small on a 36 inch for example. Is there an adaptive function for different screens? Thank you in advance.

