Forum Replies Created
-
AuthorPosts
-
and which page do you like to influence?
sorry i see it is a direct link to the page – sorry:
try please: ( copy paste this – there are no spaces between)
html.html_boxed.html_entry_id_440 { background: #000 !important; }
-
This reply was modified 6 years, 10 months ago by
Guenni007.
April 26, 2018 at 8:10 pm in reply to: 'previous' and 'next' tabs missing in portfolio entries #947447are you using a slider on top?
it is to prevent prev and back buttons colide with the prev and next buttons of category navigation:if so:
This to functions.php of your child-theme :
add_filter('avia_post_nav_settings','avia_remove_fullwidth_slider_check', 10, 1); function avia_remove_fullwidth_slider_check($settings) { $settings['is_fullwidth'] = false; return $settings; }
Ach noch eines im Nachgang :
this line:
if(shrinking && !isMobile)
if you change it to :
if(shrinking)
the shrinking works on ipad f.e. too-
don’t know why it is set on that.page-id-17 #after_layer_slider_1 { z-index: 40; }
Teilweise haben die einen z-index von 30
kannst den Link entfernen – danke
ich hatte mal das Problem andersherum, da musste ich vom Layerslider sachen überlappen lassen:
https://webers-testseite.de-
This reply was modified 6 years, 10 months ago by
Guenni007.
Du siehst ja, dass ich hier auch nur Teilnehmer bin.
Aber mein Avatar und mein Nick geben ja die Kontaktdaten frei.
Also – gernehave you a link to the page to which it concerns?
do you have any caching plugin or minfier running ? Empty Browser Cache etc.
hast du mal einen Link
April 26, 2018 at 6:37 pm in reply to: PLEASE STOP WRITING CAPITALIZED – it is no good netiquette #947393If one can not be friendly by conviction, then at least one should be polite because of his education – but perhaps some of them are unfriendly because of this fact or their education. ;)
wo befinden sich die 3 Bilder?
Du hast wahrscheinlich eine color-section und dann ?
Weiss nicht was du hier mit dem Separator machen möchtest. Ich würde die Bilder zB in jeweils eine 1/3 column setzen, und die erste Column dann bearbeiten – da gibt es die Option dass man ein negatives Margin einstellen kann ( Custom Top and Bottom Margin)hier zB ist in der ersten color-section ein 1/1 Container mit in dem fall -10% top margin.
https://webers-testseite.de/multiple-background-images/i think if you got a translated WordPress like me (german) this will not work as expected because the english version is changed but translation will be the same “Alle” on German – so i had to change the lang files in this case.
ja nimm unbedingt nur die komplette datei – ohne initialisierung geht es nicht.
Ist ja nur 4.3kb großdas war nur der Ausschnitt der verändert wird.
nimm ruhig zweistellig also 1.56 und 2.8 – werte waren korrekt ( edit: natürlich mit Punkt nicht mit Komma)heißt eben sobald 180px gescrollt wurden, erreicht man den Endpunkt der header-höhe. (100px)
st war ja definiert worden in der Datei als $window.scrollTop( )@designereck – edit: it seems not to work because Enfold 4.3 has changed hierarchical structure
Read the answer before.if you want to shrink not so much – than your values are right.
f.e Start from 300px to reach 200px
first value 3 last value 1.5what makes me wonder is that it works the old way on a test site with new Enfold 4.3 ?
I would have assumed, first, to deregister the parent function
Edit: i did it this way now – seems to work:
add_action( 'wp_enqueue_scripts', 'wp_change_sticky_header_script', 100 ); function wp_change_sticky_header_script() { wp_deregister_script( 'avia-sticky-header' ); wp_enqueue_script( 'avia-sticky-header-child', get_stylesheet_directory_uri().'/js/avia-snippet-sticky-header.js', array('avia-default'), $vn, true); }
and then upload an edited avia-snippet-sticky-header.js to child-theme/js/ folder
can you please see here that little tut. ( i will have look if on Enfold 4.3 has changed something – but i guess not)
to have not the whole avia.js changed – it works with a separated shrink-fix.js etc. the whole thing is here :
https://kriesi.at/support/topic/shrinking-of-header-amount-an-info/Edit:.. i see new Enfold has extracted that code to : avia-snippet-sticky-header.js
it is not part of avia.js anymore –
So we need a new workaround to replace this avia-snippet-sticky-header.js through a child-theme one.
This seems to be easier as before because it is now nearly the same as if we had a shrink-fix.jsYigit : how can we load that child-theme pendent ( the formula stayes the same – there are two values to change)
it is loaded via functions.php via:
//sticky header with header size calculator $condition = (isset($options['header_position']) && $options['header_position'] == "header_top"); $condition2 = (isset($options['header_sticky']) && $options['header_sticky'] == "header_sticky") && $condition; avia_enqueue_script_conditionally( $condition2 , 'avia-sticky-header', $template_url."/js/avia-snippet-sticky-header.js", array('avia-default'), $vn, true);
is there a way to have that functions.php of the parent-theme condition integrated
in other words – what happend if shrinking is not activated on Enfold settings – then the script is loading allthough it is not needed.
how can we avoid that on performance reasons. ( – yes i know : not to place that on child-theme )if you have the boxed layout i guess you are talking about the background color on left and right. This goes not to body but to html styling – it is on Enfold Options a misunderstanding designation
Edit: i deleted the code – it was embarrassed
:lol – influence the parents via child class – a beginner mistake
-
This reply was modified 6 years, 10 months ago by
Guenni007.
Gibt es einen Link den man sich anschauen kann?
Oder du mußt es genauer beschreiben. Was heißt eingebaut.
Hast du eine Color-Section mit Hintergrundbild gewählt oder ein Image ALB benutzt etc. pp.Der Link wäre leichter zu interpretieren. Das ist alles im Source Code was man wissen muss um zu helfen.
April 26, 2018 at 11:35 am in reply to: How to display Avia Post NAV with same category only #947205can you try this in functions.php of your child-theme:
by the way if you are having child-theme every snippet offered here comes to child-theme functions.php – thats the trickadd_filter( 'avia_post_nav_entries', 'enfold_customization_postnav', 10, 2); function enfold_customization_postnav($entries, $settings) { $entries['prev'] = get_next_post($settings['same_category']); $entries['next'] = get_previous_post($settings['same_category']); return $entries; }
by the way Yigit – for what is the avia_sc_revolutionslider on shortcodes ?
Sorry for my new question: you did that code to funcitions.php of parent theme?
Than it is probably important where you inserted it – that is why i wrote:put this into your functions.php of your child-theme
or that ;) https://kriesi.at/support/topic/remove-avia-framework-debug-information/#post-946545
by the way you can alway overwrite via functions.php of child theme if a code starts this way:
if(!function_exists( …
have a look in functions-enfold.php
can you look what php Version is running on those servers?
ok – than you had to wait til mods are here.
April 25, 2018 at 8:06 pm in reply to: How to disable menu/ burger menu/ sub menu on specific page #9468193) you can set the top bar via functions.php of child theme:
add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1); function avf_header_setting_filter_mod($header) { if(is_page(1625)){ $header['header_topbar'] = ''; } return $header; }
a display none is not displayed but allthough it is in the source-code
it would be nice to see a link. Otherwise, it is purely speculative
April 25, 2018 at 4:45 pm in reply to: CSS code in header to switch between Mobile header image & desktop header image #946695the logo itself is no background-image. For shrinking version you need a real image there :
you can change the logo by adding this to functions.php of your child-theme
if you want to have a different logo on mobile advices (even for ipad air etc)function avia_custom_mobile_logo(){ if(wp_is_mobile()){ ?> <script> jQuery(".logo img").attr("src", "http://path-to-mobile-logo/logo.png"); </script> <?php } } add_action('wp_footer', 'avia_custom_mobile_logo');
if you like to have a different logo for small screen width. – that is something different. – and on performance reasons it is always problematic to measure screen-width permanently. – so on this case a debouncing could be a good advice
function av_dif_mobile_logo(){ ?> <script> jQuery(window).load(function(){ if (jQuery(window).width() < 480) { jQuery(".logo img").attr("src", "http://path-to-logo/logo.png");} }); </script> <?php } add_action('wp_footer', 'av_dif_mobile_logo');
April 25, 2018 at 4:37 pm in reply to: ENFOLD 4.3: function for adding own Google font causes error #946689i know that code as well – but try this one – maybe it works (too)
add_action('wp_head', function() { ?> <link href="https://fonts.googleapis.com/css?family=Cinzel+Decorative:400,700" rel="stylesheet"> <?php });
Or your code only with false at the end – but try first the top code
function avia_add_google_fonts() { wp_enqueue_style( 'avia-google-fonts', 'https://fonts.googleapis.com/css?family=Cinzel+Decorative:400,700', false ); } add_action( 'wp_enqueue_scripts', 'avia_add_google_fonts' );
on my page on top: https://webers-testseite.de/edited-enfold-alb-elements/ i updated the new files for Enfold 4.3
i decided to not support older enfold from now on. so only the newest files are there to download.Or put a column in that color-section and set for the column Custom top and bottom margin negative margin
Can not confirm to that
Please do open https://webers-testseite.de/cynthia/logo-move/
and even if you do not accept and open another page the message pops up.April 25, 2018 at 1:30 pm in reply to: HOW DO I: Create a full width 1/4 1/4 | 1/2 layout – Looking for community input #946560 -
This reply was modified 6 years, 10 months ago by
-
AuthorPosts