Forum Replies Created
-
AuthorPosts
-
April 29, 2018 at 11:00 pm in reply to: Adding custom icon to Social Profiles – Icon doesn't display #948737
nothing has changed yet – the font is still called entypo-fontello ;)
I’m just kidding a bit
the fault is on https://kriesi.at/documentation/enfold/custom-social-icons/ – should be corrected indeedApril 29, 2018 at 10:59 pm in reply to: Adding custom icon to Social Profiles – Icon doesn't display #948736The font is still called entypo-fontello
April 29, 2018 at 10:58 pm in reply to: Adding custom icon to Social Profiles – Icon doesn't display #948735The font is called entypo-fontello
give to the grid-row ALB element the custom class: avia-shadow
by the way it is defined already on Enfold shortcodes.css as:
.avia-shadow { box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); }if you like to have that a bit more visible play a bit with the 0.1 or the px values
if you want to have that allways you can add it via functions.php that class.on smaller screens go back to normal view of header_meta:
@media only screen and (max-width: 768px) { #header_meta { min-height: 30px !important; margin-bottom: -1px; } #header_meta .container { top: 0 !important; padding-right: 0; overflow: visible; height: 1px !important; min-height: 0px !important } #menu-item-shop .cart_dropdown_link { padding: 0 40px !important; top: -15px !important; } }This is a little bit hazy – because there was a 1px area of logo and shopping cart that does not work as link area:
but i think you can live with that.:
#header_meta .container { top: 50px; padding-right: 110px; overflow: visible; height: 1px !important; min-height: 0px !important } @media only screen and (max-width: 990px) { #header_meta .container { padding-right: 170px; } #menu-item-shop .cart_dropdown_link { padding: 0 110px 0 70px; } }a 0px height would cause an other layout
And we had to think about what should happen to very small screens !
-
This reply was modified 7 years, 6 months ago by
Guenni007.
April 29, 2018 at 6:41 pm in reply to: Disabling Google Fonts and loading them from own server instead #948688first- have a look here.
i put the infos and a short plugin together: https://kriesi.at/support/topic/disable-google-font-loading-via-google/
You can downlaod a whole zip file with all fonts included in Enfold https://webers-testseite.de/local-google-fonts.zip – or you visit https://google-webfonts-helper.herokuapp.com/fonts to get your font you likeyou don’t need that plugin – but it makes things easier to handle

With both 100% width this will be a problem because even if the z-indices are the same ( header-meta got one of 10) this does not work.
So we had to find a version in which those containers do not disturb each otherThe thing is that your top menu has a z-index of 10 and is 100% wide. So the cart symbol is without link option too ( and your logo)
-
This reply was modified 7 years, 6 months ago by
Guenni007.
E-mail und Kontakt hast du über meinen Nick oder Avatar
give to the fixed positioned container an overflow : hidden
April 27, 2018 at 11:21 am in reply to: Enfold Youtube Plugin with no cookie Option for EU DSGVO? #947842Well – i must say that if the options on youtube videos are not selectable and work with video alb – i use my shortcode version instead. ( it is realy nice now on ALB Video Element that it has now the right proportion – so i use the surrounding container of Enfold setting.
this to functions.php of your child-theme –
function youtube ($id){ return '<div class="avia-video avia-video-16-9" itemprop="video" itemtype="https://schema.org/VideoObject"> <div class="avia-iframe-wrap"> <iframe title="YouTube video player" width="720" height="405" src="https://www.youtube-nocookie.com/embed/'.$id[0].'?enablejsapi=1&ecver=2&showinfo=0&loop=1&rel=0" frameborder="0" allowfullscreen> </iframe> </div> </div>'; } add_shortcode('youtube', 'youtube');and you can insert every youtube video as shortcode to where ever you like.
[youtube G0k3kHtyoqc]
the no cookie is integrated – and no relatives etc pp
See here left side shortcode in text-block – right side Enfold Video ALB
https://webers-testseite.de/cynthia/youtube/Also:
1) die datei : avia-snippet-sticky-header.js aus deinem gedownloadeten Enfold Ordner nehmen, und deinen Wünschen nach bearbeiten.
2) Die Datei in deinen Ordner enfold-child/js/ legen (keine Ahnung wo der bei Mamp sich befindet.
3) Im Enfold-Child Optionen Dialog sollte schon auch shrinking header gewählt sein, und die Starthöhe von 280px eingestellt sein (weshalb mich schon hier wundert warum du nicht bei 140px Endwert landest.
4) in deiner Child-Theme functions.php das hier hineinkopieren: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); }5) Schauen ob irgendwo (Enfold hat auch jetzt implementiert) einige Minimizer laufen (BWP-Minify etc oder Caching-Tools) –
Cache überall auch am Browser löschen.
6) Nachschauen ob der gewünschte Endpunkt von 100px erreicht wird.well – on former days i had to say that i often updated WordPress this way.
The changelog was in most cases very pecise which files and folders are changed. But today – in times where a lot of people have gigabit internet connections the upload of a whole thing is in the most cases much faster than to pick out the changings.And by this procedure you have always a rollback – do a lot of postings here on board would not be necessary.
this is something i do always add to functions.php of child-theme
function admin_head_mod() { echo '<style type="text/css"> #avia_quick_css .avia_description {float: none;margin-bottom: 20px !important;padding-left: 0 !important;width: 98%} #avia_quick_css .avia_control {float: left;max-width: 98% !important;width: 98% !important} .avia_footer_links li {float: left;padding-right: 20px} .avia_footer .avia_footer_save {float: left} .avia_reset {pointer-events: none !important } </style>'; } add_action('admin_head', 'admin_head_mod');the last rule
.avia_reset {pointer-events: none !important }
The last line makes sure that you do not accidentally press “Reset all options”
and the save button is best on left hand because on smaller screens its out of screen and you have to scroll to right side to press savebut this was not the statement. Goto gtmetrix and see results there.
on pagespeed insight of google a 84 on mobile is nearly perfect.
Only some handmade pages got better results: webers-oldschool
https://gtmetrix.com/reports/test.kriesi.at/DWMWqcLLand 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 7 years, 6 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 7 years, 6 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 7 years, 6 months ago by
Guenni007.
-
This reply was modified 7 years, 6 months ago by
-
AuthorPosts
