Forum Replies Created
-
AuthorPosts
-
that would be great to have that beta – but do you know why :
But the problem is not solved yet, why the transition speed from the last slide to the first slide stays at 900ms even though I changed the value at the corresponding place in the slideshow.js of the parent theme. …
https://kriesi.at/support/topic/transition-speed-in-slider-alb/#post-1211061
No – it is not solved at the end. Just for title if he will hard-code the parent theme ( Don’t know why the filter avf_logo_title is missing – that would be nice to have on default ) – and the alternate logo is not solved yet.
But i hope that it will be solved on the update comming soon. See here: https://kriesi.at/support/topic/alt-for-transparent-header-image/page/2/#post-1199225i transfered it this way to another playground: https://webers-testseite.de/pureinstall/tada/
and changed abit the css and had to adjust the media querry breakpoints due to different font-sizes etc. ppthis at the end of the answer is the enfold shortcode for that grid-row with all classes and IDs preset.
you can insert that on an empty page in the debug modus field.You know how to activate the debug mode?
this to child-theme functions.php// Debug Modus Enfold add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug(){ return "debug"; }the only thing to mention is that i use the little plugin of Günter here from the dev team : avia-special-characters
to have special characters on input fields – that is the #amp# for the ampersand.next to know is my little snippet to use the grid-row alb not as full-width layout element:
to child-theme functions.php:function grid_layout_notfull(){ ?> <script> (function($){ $('.av-layout-grid-container.grid-notfull' ).wrap( '<div class="main_color notfullsize color1"></div>'); $('.notfullsize').css({"clear": "both", "width": "100%" , "float": "left" , "position": "static" , "min-height": "100px" }); $('.grid-notfull').css({"max-width": "1510px", "margin": "0 auto" , "padding": "0 50px"}); })(jQuery); </script> <?php } add_action('wp_footer', 'grid_layout_notfull');you have to synchronize the 1510px to your setting ( on your page it is 1440px )
and then a lot of flex-box model css for your quick css.
i use on the grid-row an ID : covid-beyond
and a custom-class for not full-width: grid-notfull/*******************************************/ /****** covid fields responsive behavior *****/ /*******************************************/ #covid-beyond { display: flex !important; flex-flow: row wrap; justify-content: stretch; background: transparent !important } #covid-beyond .av-subheading_below { margin-top:0.3em; } #covid-beyond .flex_cell.cell-one, #covid-beyond .flex_cell.cell-two, #covid-beyond .flex_cell.cell-three, #covid-beyond .flex_cell.cell-four { display: flex !important; width: unset !important; flex: 1 1 23%; margin: 0 !important; padding: 1% !important; } #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; } #covid-beyond .flex_cell.cell-one .flex_cell_inner .flex_column, #covid-beyond .flex_cell.cell-two .flex_cell_inner .flex_column, #covid-beyond .flex_cell.cell-three .flex_cell_inner .flex_column, #covid-beyond .flex_cell.cell-four .flex_cell_inner .flex_column { flex: 1 1 auto; border: solid #aaa; border-width: 2px 0 } /******* comment this out if you don't like the bottom margin on the smaller columns *****/ #covid-beyond .flex_cell.cell-three .flex_cell_inner .flex_column:first-child, #covid-beyond .flex_cell.cell-four .flex_cell_inner .flex_column:first-child { margin-bottom: 20px; } #covid-beyond .flex_cell_inner .flex_column:nth-child(2) { margin-top: -2px !important; } #covid-beyond .flex_column { min-height: 250px; } #covid-beyond .cell-one .flex_column { background-color: transparent !important; } #covid-beyond .cell-one .flex_cell_inner { background: linear-gradient(rgba(235,134,78,0.18),rgba(235,134,78,0.6)) !important; } #covid-beyond .avia-button-wrap { position: absolute; bottom: 10px; right: 10px; } /*************** Media Querries *************************/ @media only screen and (max-width:1085px) { #covid-beyond .flex_cell.cell-one { flex: 1 1 100%; } #covid-beyond .flex_cell.cell-two, #covid-beyond .flex_cell.cell-three, #covid-beyond .flex_cell.cell-four { flex: 1 1 33.29%; } #covid-beyond .cell-one .flex_cell_inner { width: 100%; } } @media only screen and (max-width:930px) { #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; } } @media only screen and (max-width:767px) { #covid-beyond { justify-content: space-evenly; } #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 100%; } #covid-beyond .flex_cell.cell-two .flex_cell_inner .flex_column, #covid-beyond .flex_cell.cell-three .flex_cell_inner .flex_column, #covid-beyond .flex_cell.cell-four .flex_cell_inner .flex_column { border-width: 0 0 2px 0; } .responsive #top .container #covid-beyond .av-content-small, .responsive #top #wrap_all #covid-beyond .flex_column, .responsive #top #wrap_all #covid-beyond .av-flex-cells .no_margin { margin-bottom: 0px; } .responsive #top #wrap_all #covid-beyond.av-flex-cells .no_margin { padding-left: 20px !important; padding-right: 20px !important; } #covid-beyond .flex_column { min-height: 150px !important; } }the shortcodes for that grid-row
[av_layout_row border='' min_height_percent='' min_height_pc='25' min_height='0' color='main_color' mobile='av-flex-cells' mobile_breaking='av-break-at-tablet' id='covid-beyond' custom_class='grid-notfull big-screens' aria_label='' av_element_hidden_in_editor='0' av_uid='av-1jw1sp'] [av_cell_one_fourth vertical_align='top' padding='20px' padding_sync='true' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_attachment='scroll' background_position='top left' background_repeat='no-repeat' link='' linktarget='' link_hover='' mobile_display='' custom_class='cell-one' av_uid='av-huwh'] [av_one_full first min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='20px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#ffffff' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-6na81d' custom_class=''] [av_heading heading='COVID-Beyond' tag='h2' link='' link_target='' style='blockquote modern-quote' size='' subheading_active='subheading_below' subheading_size='15' margin='' padding='10' color='' custom_font='' custom_class='' id='' admin_preview_bg='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-2sx44h3'][/av_heading] [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-2wp1dvr' admin_preview_bg=''] Krise als Chance zum Neuanfang auf höherer Ebene [/av_textblock] [/av_one_full][/av_cell_one_fourth][av_cell_one_fourth vertical_align='top' padding='20px' padding_sync='true' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_attachment='scroll' background_position='top left' background_repeat='no-repeat' link='' linktarget='' link_hover='' mobile_display='' custom_class='cell-two' av_uid='av-wk8rt'] [av_one_full first min_height='' vertical_alignment='av-align-top' space='' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='20px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='#f8edff' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-65k3td'] [av_heading heading='Leaders #amp# Organisationen' tag='h3' link='' link_target='' style='blockquote modern-quote' size='' subheading_active='subheading_below' subheading_size='15' margin='' padding='10' color='' custom_font='' custom_class='' id='' admin_preview_bg='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-2n5g4o7'][/av_heading] [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-2g5fcav' admin_preview_bg=''] Zukunftsbild und Strategie. Komplexität auf den Punkt. Treffende Entscheidungsfindung. Entwicklung at once; Persönlichkeit, Team, Leadership, Kultur, Organisation und Realität [/av_textblock] [/av_one_full][/av_cell_one_fourth][av_cell_one_fourth vertical_align='top' padding='20px' padding_sync='true' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_attachment='scroll' background_position='top left' background_repeat='no-repeat' link='' linktarget='' link_hover='' mobile_display='' custom_class='cell-three' av_uid='av-12q1c9'] [av_one_full first min_height='' vertical_alignment='av-align-top' space='no_margin' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='20px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='#fffae0' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-5obfoh'] [av_heading heading='Leaders’ Familien #amp# Freunde' tag='h3' link='' link_target='' style='blockquote modern-quote' size='' subheading_active='subheading_below' subheading_size='15' margin='' padding='10' color='' custom_font='' custom_class='' id='' admin_preview_bg='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-25d8pvr'][/av_heading] [av_button label='Click me' icon_select='yes-right-icon' icon='ue832' font='entypo-fontello' size='small' position='right' label_display='' title_attr='' color='silver' custom_bg='#444444' custom_font='#ffffff' link='manually,http://' link_target='' id='' custom_class='' av_uid='av-k9xvb024' admin_preview_bg=''] [/av_one_full][av_one_full first min_height='' vertical_alignment='av-align-bottom' space='no_margin' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='20px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='#edf8ff' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-440hrt'] [av_heading heading='Individuen, Paare, Familien, Coaches #amp# Consultants' tag='h3' link='' link_target='' style='blockquote modern-quote' size='' subheading_active='' subheading_size='15' margin='' padding='10' color='' custom_font='' custom_class='' id='' admin_preview_bg='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-1t8tzgn'][/av_heading] [av_button label='Click me' icon_select='yes-right-icon' icon='ue832' font='entypo-fontello' size='small' position='right' label_display='' title_attr='' color='silver' custom_bg='#444444' custom_font='#ffffff' link='manually,http://' link_target='' id='' custom_class='' av_uid='av-k9xvb024' admin_preview_bg=''] [/av_one_full][/av_cell_one_fourth][av_cell_one_fourth vertical_align='top' padding='20px' padding_sync='true' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_attachment='scroll' background_position='top left' background_repeat='no-repeat' link='' linktarget='' link_hover='' mobile_display='' custom_class='cell-four' av_uid='av-tjj6x'] [av_one_full first min_height='' vertical_alignment='av-align-top' space='no_margin' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='20px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='#ffe8ef' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-4zyukx'] [av_heading heading='Methoden der Zukunft #amp# Strategische Intuition' tag='h3' link='' link_target='' style='blockquote modern-quote' size='' subheading_active='' subheading_size='15' margin='' padding='10' color='' custom_font='' custom_class='' id='' admin_preview_bg='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-13ft747'][/av_heading] [av_button label='Click me' icon_select='yes-right-icon' icon='ue832' font='entypo-fontello' size='small' position='right' label_display='' title_attr='' color='silver' custom_bg='#444444' custom_font='#ffffff' link='manually,http://' link_target='' id='' custom_class='' av_uid='av-k9xvb024' admin_preview_bg=''] [/av_one_full][av_one_full first min_height='' vertical_alignment='av-align-bottom' space='no_margin' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='20px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='#f2ffe5' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-4llc6h'] [av_heading heading='Lern-Community der HyperTransformatoren, Frühaufstehern #amp# Rulebreakern' tag='h3' link='' link_target='' style='blockquote modern-quote' size='' subheading_active='' subheading_size='15' margin='' padding='10' color='' custom_font='' custom_class='' id='' admin_preview_bg='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-6mpmv'][/av_heading] [av_button label='Click me' icon_select='yes-right-icon' icon='ue832' font='entypo-fontello' size='small' position='right' label_display='' title_attr='' color='silver' custom_bg='#444444' custom_font='#ffffff' link='manually,http://' link_target='' id='' custom_class='' av_uid='av-k9xvb024' admin_preview_bg=''] [/av_one_full][/av_cell_one_fourth] [/av_layout_row]you can see my solution here : https://kriesi.at/support/topic/theme-is-shaking-a-lot-in-safari/
to see the problem i will remove the css for the background-attachment size to zero. So that there will be both ( above each other – with a little shift ) the pseudo-content in the before and the attachment image. ( the jittering one is the default attachment )
what i realised too : if you use a normal mouse ( not the magic one from Mac – this is a high resolution mouse ) like a logitech wheel mouse the effect is less.
The crux is : read about background-attachment : fixed in combination with background-size: cover and safari.
https://forums.developer.apple.com/thread/99883
See https://webers-testseite.de/
to be precise : what you see on the film are both images
1) on top the image as background of a pseudo :before container that has postion fixed
2) behind the enfold container with background-image with background-attachment: fixedEdit: i removed the outcommenting to have only fixed pseudo container now – i do have a reputation to uphold ;)
-
This reply was modified 5 years, 7 months ago by
Guenni007.
your example page could not be reached in that moment.
But when seeing the page – i suggest that it is based on the demo: https://kriesi.at/themes/enfold-app/i can only see on your page: webdesign-den-haag these images with background-attachment : fixed.
This is something that does not work in Safari !
Could you please read here a bit further on that topic: https://kriesi.at/support/topic/theme-is-shaking-a-lot-in-safari/because the postion: fixed is not as buggy as the above-mentioned background-attachment: fixed in Safari
the trick is to replace these.See my testpage: https://webers-testseite.de/
for invesitgation purpose : i have both images to show now. The jittering one is the attachment the other fixed is the pseudo-content.
the only problem stayes on advanced layerslider.-
This reply was modified 5 years, 7 months ago by
Guenni007.
Ah sorry – that with the title will not work – i had changed my functions-set-avia-frontend.php to have that extra filter
on line 564 you see that avf_logo_alt Filter – i inserted an analogon with title.i replaced the line 566:
$title = '';with:
$title = apply_filters( 'avf_logo_title', get_the_title( $logo_id ) );sorry.
The one with the input field would be the most elegant solution.
But the problem is not solved yet, why the transition speed from the last slide to the first slide remains at 900ms even though I changed the value at the corresponding place in the slideshow.js of the parent theme
you can see it here: https://webers-testseite.de/pureinstall/fullwidth-slider/
it is set on parent-theme slidershow.js to 5000ms ( extreme but to better see the difference )
but the change from 3 to 1 Slide it is much faster – i guess 900ms.No caching tools – no merging on that page.
-
This reply was modified 5 years, 7 months ago by
Guenni007.
see discussion here: https://kriesi.at/support/topic/alt-for-transparent-header-image/
there was a fix from ismael i think – but i hope the next update will fix that. And i guess we are a few days before release.
the logo itself you can influence via filter – but the alternate logo ( used for transparency ) has no such filter.
function avf_change_logo_alt($alt) { $alt = "Logo Steimer Production AG"; return $alt; } add_filter('avf_logo_alt', 'avf_change_logo_alt'); function avf_change_logo_title($title) { $title = "Steimer Production AG"; return $title; } add_filter('avf_logo_title', 'avf_change_logo_title');hm – that is more complex than i thought:
please have a look at the proposal here; and test the responsive behaviour by shrinking the screen width.
https://webers-testseite.de/covid-beyond/the colors on the right are only to show you the dimensions of the containers.
It is easy to get rid of them.At the moment the site is not reachable – more tomorrow – today I’m going off work.
we had to exclude those sliders from building the pseudo container ; you are working a lot with the advanced layerslider etc. so i will have a look when your page is back again tomorrow.
you have to let them on float right but just move the position in your menu ( drag & drop )
but you have to find a way to have that site responsive.
Your logo setting and hamburger settings did not realy work on mobiles.The other thing is the handling of tables. You can achieve that layout without table setting too.
-
This reply was modified 5 years, 7 months ago by
Guenni007.
If you changed it to that. – without bg-fixed extra class.
we had to style your settings on layerslider in between content. and full-screenslider needs a higher z-index too:as i said above – your setting is different to that of the topic starter post.
This custom class is for changing backgrounds in color-sections.
you set your background to a class:i did it as you have done it via main-color class and not to have it on my domain globaly i included page-id:
.page-id-37336 .main_color { background-image: url(https://webers-testseite.de/wp-content/uploads/main-background-90.jpg); background-repeat: no-repeat; background-attachment: fixed; background-size: 0 !important; /**** clip-path: inset(0 0 0 0); get rid of that ****/ }and set the background-size to 0
( on that case the clip-path has to go )now we create the pseudo container for it:
.page-id-37336 .main_color:before { background-image: inherit !important; background-repeat: no-repeat !important; content: ""; position: fixed; width: 100%; height: 100%; top: 0; left: 0; background-size: cover; will-change: transform; }now we need to rise the z-index of the container for that page:
.page-id-37336 .container { z-index: 5 }see here my test page: https://webers-testseite.de/multiple-color-sections/
-
This reply was modified 5 years, 7 months ago by
Guenni007.
yes now i can see : on home 2 in which color-section or section is a link which does not work?
To give advice – i had to see the issue – so put in the class again please –
or make a copy of the site and place the class there and send me the link.Edit: i can see now that the background-image on that page does not come from the color-section itself ( color-section options dialog) it is a css
to .main_color
and it shold work the whole page where main-color is used.
i try to create a page that is nearby yours. but this is definitely a different starting point-
This reply was modified 5 years, 7 months ago by
Guenni007.
no link on your post –
the links in private content i can not see !!! only mods can see these links ( and the author)
The private data field is not visible for other participants – that is the intention.i tested it on my site: https://webers-testseite.de/background-fixed/
you see an image gallery works – even a heading with linki’m participant as you are – so i do not see any private content.
this will work but that hook goes as first child in header_main.
Where in the DOM you like to insert that html?add_action('ava_main_header' , 'add_libsyn_header'); function add_libsyn_header() { ?> <div style="display: none">Libsyn</div> <?php }maybe the ava_after_body_opening_tag is a good place for you? otherwise tell us where you like to place it exactly.
or to have a child-theme header.php with that entry directly after wrap_all opensi would follow the advice from victoria given on top ( the background-images got a setting for that on color-section options too) – but even if you are playing with the advanced layerslider there is a setting for that.
Go to slider settings and choose on the right side the “show advanced settings”
then there is on the tab : appearance the setting for : “initial fade duration”
this is on default by 350ms
May 6, 2020 at 9:12 pm in reply to: Featured image by default in post with Avia, possible ? #1210480or better to preserve the meta box setting – see image above even for ALB created Posts and Portfolios
because on the most cases it makes no sence on showing the featured image on a post or portfolio created with advanced layout builder
add_filter('avf_template_builder_content', 'avf_template_builder_content_postimage_mod', 10, 1); function avf_template_builder_content_postimage_mod($content = "") { if( is_singular('post') && ( '1' != get_post_meta( get_the_ID(), '_avia_hide_featured_image', true ) ) || is_singular('portfolio') && ( '1' != get_post_meta( get_the_ID(), '_avia_hide_featured_image', true ) ) ) { $featuredImage = get_the_post_thumbnail( $the_id, 'entry_with_sidebar' ); $content = $featuredImage . $content ; } return $content; }May 6, 2020 at 8:34 pm in reply to: Featured image by default in post with Avia, possible ? #1210470if you are styling the post with the classic editor you have the opportunity to choose – that the featured image is shown on the post:

Allthough you can set this even if you style your post with the advanced layout builder (alb) – this setting has no influence and the featured image isn’t shown on the single post!
The code for your child-theme functions.php sets this as default behavior.
May 6, 2020 at 5:03 pm in reply to: Featured image by default in post with Avia, possible ? #1210393see here the topic: https://kriesi.at/support/topic/beitragsbild-eines-blogbeitrags-automatisch-anzeigen/#post-1202606
You mean if you are using the alb even for posts.
In that solution put into your child-theme functions.phpadd_filter('avf_template_builder_content', 'avf_template_builder_content_postimage_mod', 10, 1); function avf_template_builder_content_postimage_mod($content = "") { if(is_singular('post') || is_singular('portfolio') ) { $featuredImage = get_the_post_thumbnail( $the_id, 'entry_with_sidebar' ); $content = $featuredImage . $content ; } return $content; }you have the choice what image you like to have instead of entry_with_sidebar
just replace that from the list out of : widget, square, featured, featured_large, extra_large, portfolio, portfolio_small, gallery, magazine, masonry, entry_with_sidebar, entry_without_sidebar________________________________
Excerpt from the functions.php concerning the sizes.$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); $avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); $avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); $avia_config['imgSize']['featured_large'] = array('width'=>1500, 'height'=>630 ); $avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , $avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); $avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); $avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); $avia_config['imgSize']['magazine'] = array('width'=>710, 'height'=>375 ); $avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , $avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );-
This reply was modified 5 years, 7 months ago by
Guenni007.
sorry i was sure that on former enfold versions this is a menu-item that stays visible in this manner.
In addition to the above add to the quick css:
.html_burger_menu_active .menu-item-avia-special { display: block !important; }and if you like to change the positions:
.av-main-nav li { float: right; }maybe here is an important too needed – but test it first without
-
This reply was modified 5 years, 7 months ago by
Guenni007.
What I do not quite understand is that your entire body remains scrollable. With the New Enfold, I thought that was fixed. It means Lightbox window is only scrollable if content is too big and background is fixed.
Did you change anything about that?
You can see here behavior of lightbox images what i mean: https://webers-testseite.de/abcdef/Actually I didn’t want to give any more advice when the right click is blocked. Why are you making it hard on the one who wants to help?
Anyway: for the lightbox image size there are some snippets depending on what is shown :
in your child-theme functions.php you can try this:
function avia_change_masonry_thumbnail_link($size){ return "full"; } add_filter('avf_avia_builder_masonry_lightbox_img_size', 'avia_change_masonry_thumbnail_link', 10, 1);or that:
function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta){ $link = wp_get_attachment_image_src($attachment->ID, "full"); return $link; } add_filter('avf_avia_builder_gallery_image_link', 'avia_change_gallery_thumbnail_link', 10, 4);then the full image is taken instead of the large one!
if you like to enlarge the lightbox window – we will see when the above is done.can you read further on : https://kriesi.at/support/topic/drag-drop-not-working/
do you know how to give a custom class to your menu items?
On Dashboard – Appearance – Menus
you can see on the top right postion of your browser window a slide-out button : “Screen Options”
Click that button.On “Show advanced menu properties” mark “CSS Classes”
Then you will have on each menu item an input field for class!
Enter for your “What sets up appart” a class: menu-item-avia-special
and see where it is shown on your menu.-
This reply was modified 5 years, 7 months ago by
Guenni007.
it seem that getting influence via these filters the loop option is lost.
so here is the more precise question: how do I achieve a change in the sorting option while retaining the “Loop Post Navigation”.
and this ( these plugins ) are usually sufficient for smaller collections.
These Plugins enables the possibility to drag and drop posts/portfolio/pages in the list-view to a given position : page order.
It works perfectly – except for the prev. button of the first post, when I select the rotating mode it does not go to the last post but to the oldest post ( date ).
I need this option to have a manuall order ( as in the other posting – with woocommerce products )But i think with the knowledge of the filter: get_previous_post_sort and get_next_post_sort or because it seems to be deprecated filtername and now the : get_{$adjacent}_post_sort is used.
If I need help, I’ll be contacting you again
May 6, 2020 at 8:45 am in reply to: Recaptacha JS files to load only on pages which use Forms #1210251Why do you change the name of the filter with the same functionality and – yes, it is now no longer “disable” but “prohibited” ?
That you generally wanted to change the name of the filter to avf- is understandable, but that was already given here.
I have to go and check now my installations, where I used the old filter name.To those who are interested to use this filter with contact-form-7 too:
that one line :
$prohibited = ( false !== strpos( $content, '[av_contact ' ) ) ? false : true;
has to be replaced by:
$prohibited = ( false !== strpos( $content, '[contact-form-7 ' ) || false !== strpos( $content, '[av_contact ' ) ) ? false : true; -
This reply was modified 5 years, 7 months ago by
-
AuthorPosts



