Forum Replies Created
-
AuthorPosts
-
Yes the pipe will have the “or” in the if clause.
That will work! – i’m only unsure if i had to insert that global $posts and if there is a more elegant way for the syntax.Well Mike – i guess he likes to have it fixed.
But this would only be usefull if the footer itself does not take away a big part of the screen height.
On some installations i have my #socket set to fixed – but this is only approx 100px.can you try this – don’t know if this is the correct way to use this filter but it might work in combination with blog-grid style
just check for context: archive , index, tagadd_filter('avf_post_slider_args', function($atts, $context){ global $posts; if($context == 'index') { $atts['columns'] = 4;} return $atts; }, 10, 2);May 24, 2020 at 10:51 pm in reply to: Gallery with four thumbnails above and one big image below #1215882why not simple:
just create a masonry gallery with set up for 4 columns.

guess this is self-explanatory: https://webers-testseite.de/masonry-4on1big/btw: if you have 5 additional images in there – you can change the code to :
.masonry41 .av-masonry-entry:nth-of-type(5n) { width: 100% !important; } .masonry41 .av-masonry-entry:nth-of-type(5n) img { width: 100% !important; height: auto; }do you mean this here – that is called hamburger – because it looks a littel bit like a burger

this to quick css:
.header_color .av-hamburger-inner, .header_color .av-hamburger-inner::before, .header_color .av-hamburger-inner::after { background-color: #db0d0d !important; }sorry – wrong posting
#main, .main_color, .html_stretched #wrap_all, .avia-msie-8 .av_header_sticky_disabled#header { background-color: transparent !important; }but with background-attachment: fixed you will have some troubles on OS X Safari Systems.
see here: https://kriesi.at/support/topic/theme-is-shaking-a-lot-in-safari/The trick will be to have a pseudo before container with same background-image and to set the whole pseudo container to position : fixed then.
Look to the differece on a safari browser on scrolling fast with or without that:
#top { clip-path: inset(0 0 0 0); background-size: 0 !important; } #top:before { background-image: inherit !important; background-repeat: no-repeat; content: ""; position: fixed; width: 100%; height: 100%; top: 0; left: 0; background-size: cover; background-position: right center; will-change: transform; } #main, .main_color, .html_stretched #wrap_all, .avia-msie-8 .av_header_sticky_disabled#header { background-color: transparent !important; } .main_color { z-index: 5 !important; position: relative; }May 23, 2020 at 10:18 am in reply to: How to set a different header behavior in different pages #1215406you had to know your page id ( in my example here page-id-3 ) of this page
and if the header scrolls away – it does not make sence to have shrinking too – so
put this to your child-theme functions.php:add_filter('avf_header_setting_filter', 'avf_header_not_sticky', 50, 1); function avf_header_not_sticky($header_settings) { if ( is_page(3) ) { $header_settings['header_sticky'] = ""; $header_settings['header_shrinking'] = ""; } return $header_settings; }if you have more than one page where you like to change it just set the if clause to an array f.e.:
if ( is_page( array( 3, 18, 303, 500 ))) {if you are at the actual Enfold Version – you have on each Column its own Advanced Tab : Developer Settings.
There you can insert a unique ID.
But for just a unique CSS selector you do not need IDs – you can use classes as well.May 23, 2020 at 9:56 am in reply to: Any way to change Fullwidth Easy Slider Caption Title to H1 from inside WP? #1215403hm on my page this works even without setting the rule to !important:
look f.e.: https://webers-testseite.de/portfolio/wordpress-webdesign/is there a page i can see- because my installations have only footer postion relative
Fine – you are welcome
and why not make the z-index of footer bigger?
#footer, #socket { z-index: 502; }first – how did you get the 28,67 vw height?
you are using the image with 1500 x 630 ?
so height has to be : 42vwso remove please the other code – and replace with
try :
.responsive-colorsection { width: 100vw !important; height: 42vw; } .responsive-colorsection .container { position: relative; height: 100% !important; top: 0 !important; } .responsive-colorsection .container .content { position: absolute; bottom: 10px !important; width: auto !important; } .responsive-colorsection .container .av-special-heading { background-color: rgba(255,255,255,0.9); padding: 10px 30px; border-radius: 0.5em; } .responsive-colorsection .template-page .entry-content-wrapper h1 { text-transform: none !important; }Hi Guenni007, I meant mobile devices
in this case you had to know that enfold adds a class for mobile devices to the html so you can use .responsive.avia_mobile
to influence only css on mobile devices.f.e.: something like this has influence on ipad landscape – allthough this is 1024px width or more – but has no effect on desktop browsers
( by the way the pendent to that mobile class is: avia_desktop ).responsive.avia_mobile #top #avia-menu .avia-menu-text { color: red !important; }That’s why I wrote it down like a recipe.
The only thing i did not show explicitly is how to give a custom-class to the color-section:
– open the options of the color section – click on tab “Advanced” and put in the input field “Custom CSS Class” the text ( allthough classes have on css a dot in front – enter here without that dot – it will be added by enfold )
you see on the right side an image of the alb layout.
On the left you see the code for the quick css. If you accept the prism script on my page you will have a copy button on top right.
Thats all. I wouldn’t know how else to pass it on to inexperienced internet users.Edit : the solution is now private.
you take your color-section with background-image.
Set the background-image to cover.
The color-section with custom-class f.e: responsive-colorsection
and : no minimum height – thats ruled by quick cssnow you have to know the aspect ratio of your image ! mine on the testpage is nearly a 16:9 image
so if the image-width is 100% the height must be 56.25%so:
.responsive-colorsection { width: 100vw !important; height: 56.25vw; } .responsive-colorsection .container { position: relative; top: calc(100% - 150px) !important; }for a more banner like image take a different aspect ratio image !
See example page from above.btw.: I hope you have performance optimized the pictures with the same vigor ;)
First i had to ask you what you are understanding on “mobile version”
do you mean small screen width or do you mean the mobile devices ?hm – i see this on my iphone emulation developer tools:

isn’t that what you want?
The only missing is a rule for the header – because it is in position:fixed – it is not influenced by wrap_all
Try this instead:
@media only screen and (max-width:767px) { .responsive #top #wrap_all { margin-left: auto; margin-right: auto; max-width: 352px; } .responsive #top #header { position: fixed !important; max-width: 352px; } }if you only like to have that for mobile devices you can use the class on responsive : avia_mobile to be more selective:
@media only screen and (max-width:767px) { .responsive.avia_mobile #top #wrap_all { margin-left: auto; margin-right: auto; max-width: 352px; } .responsive.avia_mobile #top #header { position: fixed !important; max-width: 352px !important; } }this is a full-width slider of Enfold. – With Caption Text ( in this case with frame ) etc. pp. there are a lot of options to choose ( even the h1 for the heading could be reached.)
on Styling Tab of the slide options – you can set for different screen-width the font-sizes.coming back to you – looks nice but there is one thing i would remark:
if you see the screen-width when the columns are 1/2 the top right is smaller due to inner content.
add to the one rule the width setting to 100%
#covid-beyond .flex_cell.cell-one .flex_cell_inner, #covid-beyond .flex_cell.cell-two .flex_cell_inner, #covid-beyond .flex_cell.cell-three .flex_cell_inner, #covid-beyond .flex_cell.cell-four .flex_cell_inner { display: flex !important; flex-flow: column wrap; justify-content: space-between; width: 100%; }and have a look on the one media-query set on 930px
i guess for your setting it will be better to have this on 989px:@media only screen and (max-width:989px) { #covid-beyond .flex_cell.cell-one, #covid-beyond .flex_cell.cell-two, #covid-beyond .flex_cell.cell-three, #covid-beyond .flex_cell.cell-four { flex:1 1 49% } #covid-beyond .flex_cell.cell-two .flex_cell_inner .flex_column { border-width:2px 0 0 } }Your setting is ok – but please remove the equal-height option for the columns.
have a look here for more info on how to: https://webers-testseite.de/iconboxes-with-equalheight/If you want to make it more perfect – maybe you can live with the 500 font-weight – then you had to load the 500 font-weight instead of the 700 one – and redeclare the css for all headings to 500.
Guess thats what Yigit now does for you.
Thats what i said.Your title on the topic is wrong: with egual parameters – the parameters are not equal – thats the point.
Next time – migrate with duplicator – then you will have a 1:1 copyMay 18, 2020 at 11:49 am in reply to: Difference All Headings (H1-H6) with egual parameters #1213992As far as i understood you – you like to have the style as in the other page. ( not so bold )
But: if you can live with the “wrong” rendering – just remove the loading of the fonts in 700 weight.
If you want to make it more perfect – maybe you can live with the 500 font-weight – then you had to load the 500 font-weight instead of the 700 one – and redeclare the css for all headings to 500.
May 18, 2020 at 11:36 am in reply to: avia-merged-styles css the highest priority in page loading, why? #1213988For Enfold you do not need to implement the child in this way:
https://kriesi.at/documentation/enfold/child-theme/As long as the child style.css has this on top:
/* Theme Name: Enfold Child Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold WordPress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then. Version: 1.0 Author: Kriesi Author URI: http://kriesi.at Template: enfold */everything works with this child style.css.
because parent-theme style.css is empty too. The styles of Enfold are loaded ( conditionally ) via functions.php.so I can’t write upstairs anymore.You’re going in circles. I think it’s more correct how it is displayed there, because you have set up a bold style and a bold style is displayed. If you look at Oswald on Google, Oswald is much thicker in the 600 weight than what you have on the first page.
The rendering on ( Link ) is actually strictly speaking wrong.But: if you can live with the “wrong” rendering – just remove the loading of the fonts in 700 weight.
you see it on this image – when commenting out the loading of the 700er Oswald – the look is what you like to have:

Look on https://fonts.google.com/specimen/Oswald?query=oswald what it should look like. This font you had to load. If it comes nearer to the 500 – you have to load that. And then set the headings to font-weight: 500
first i told you here: https://kriesi.at/support/topic/difference-all-headings-h1-h6-with-egual-parameters/#post-1213764 that this is just for info.
( not intended as a solution for you )there must be differences in your installations. The difference is that on this : https://trikego.com/it/ you have installed a font-weight of 700 from Oswald. This is ok – and if you are using a 600 ( semi-bold ) setting browsers will use the 700 for that.
On that site there are these 72 Rules to import: Lato, Nunito, Open Sans, Oswald, Poppins and Raleway ( see images above).
I don’t know if you did this by accident or consciously I only see that these fonts are loaded and not on the other site.
I don’t think it’s the difference between Enfold 4.7.2 and 4.7.4.If you like the smaller look then you had to synchronize the font-loading
on https://trikego.com/it/ you load (72 css rules)
Lato(100, 300, 400, 700, 900); Nunito (300, 400); Open Sans (300, 400); Oswald ( 300, 400, 700); Poppins (300, 400, 500, 600, 700); Raleway (100, 200, 300, 500)On http://www.brunocover.it/CMS/wordpress/trikego/ there are only 19 css rules on that segment :
Open Sans (400, 600); Oswald (400);you had to know your self where you did that – but because these are not in the merged files css – you had to remember yourself where you had done that.
PS: with duplicator i migrate a page in less than 1 hour.
Just for Info: ( not intended as a solution for you ) Oswald is one of the google fonts which have variable font-weights: https://web.dev/variable-fonts/
nice info video about new browser support on that since May 2020 : https://youtu.be/B42rUMdcB7c?t=30
so you can even import a 450 font-weight with f.e. 400 and 600
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;450;600&display=swap'); -
AuthorPosts



