Forum Replies Created
-
AuthorPosts
-
To your image hover effect.
i did a custom-class to a parent container to the image: hoverstyle1In this case – if you want different selectors ( like categorie links or portfolio links etc. ) there must be analog css rules.
The point is to understand what is done – that is a good starting point.
The “framed on hover” element is styled via pseudo-containers ( before and after) – these containers got a border ( border left/right on after – and border top/bottom on before container )
these containers itself has no background-color – but borders – and are scaled to zero.
on hovering these container grow to 100% ( scale(1))see result here: https://webers-testseite.de/hover-images/
here is the css code ( i did set the overlay to display none)
.hoverstyle1 .image-overlay { display: none !important; } /* hover styling images */ .hoverstyle1 a.avia_image:before, .hoverstyle1 a.avia_image:after { content: ''; position: absolute; top: 10px; right: 10px; bottom: 10px; left: 10px; -webkit-transition: all 0.5s ease; -ms-transition: all 0.5s ease; transition: all 0.5s ease; pointer-events: none; background: transparent; width: auto; height: auto; z-index: 10; } .hoverstyle1 a.avia_image:before { border-top: 2px solid #fff; border-bottom: 2px solid #fff; -webkit-transform: scaleX(0); -ms-transform: scaleX(0); transform: scaleX(0); } .hoverstyle1 a.avia_image:after { border-left: 2px solid #fff; border-right: 2px solid #fff; -webkit-transform: scaleY(0); -ms-transform: scaleY(0); transform: scaleY(0); } .hoverstyle1 .avia-image-overlay-wrap:hover a.avia_image:before, .hoverstyle1 .avia-image-overlay-wrap:hover a.avia_image:after { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); }
-
This reply was modified 5 years, 1 month ago by
Guenni007.
Last Attempt – i think it is very obvious that the slide effect works good – and even the transition between slide3 to slide1 is equivalent to the others.
But with fading there is a different speed ( from 1 to 2, and 2 to 3 this is preselect 10s : very smooth blending )
but on the transition 3 to 1 it looks totaly different:May 25, 2020 at 9:43 am in reply to: Any way to change Fullwidth Easy Slider Caption Title to H1 from inside WP? #1216056or does he like to : A way to change any Fullwidth Easy Slider Caption Title to H1 from inside WP?
the filter : avf_customize_heading_settings is now in newest enfold only in the av-helper-slideshow.php
I thought it was on former versions in each slider type.
So i only found a way to influence the whole default_heading tag by this in your child-theme functions.php:
It only changes the default_heading – if you have set a custom heading tag ( see posting of mine before with the image) it will not overwrite that.function my_avf_customize_heading_settings( array $args, $context, array $extra_args = array() ){ if( $context == 'avia_slideshow' ){ $default_heading = ! empty( $dev_tags['heading_tag'] ) ? $dev_tags['heading_tag'] : 'h1'; $args['heading'] = $default_heading; $args['extra_class'] = $dev_tags['heading_class']; } return $args; } add_filter( 'avf_customize_heading_settings', 'my_avf_customize_heading_settings', 10, 3 );
i did not see a way to use this filter only for the full-width slider
if you only like to influence the default_heading on fullwidth easy slider you can have your own
child-theme slideshow_fullsize.php
and change on line 810 to:
'theme_default' => 'h1',
Such a question is exactly the reason why I am also happy to answer questions here as a fellow participant. It is a challenge and i will learn the most from it. If a customer shows up and expresses exactly such a wish, I don’t stand there and won’t know what to say.
So thank you from my point of view, too.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. -
This reply was modified 5 years, 1 month ago by
-
AuthorPosts