Forum Replies Created
-
AuthorPosts
-
What is the reason for an ID ?
An ID should be unique – to have another section with same ID is wrong!
Or in other words – what is the superlative of unique ?
If your “first ID” is unique every added construction should be too !https://www.w3schools.com/tags/att_global_id.asp
Definition and Usage
The id attribute specifies a unique id for an HTML element (the value must be unique within the HTML document).
The id attribute is most used to point to a style in a style sheet, and by JavaScript (via the HTML DOM) to manipulate the element with the specific id.Dashboard – Appearance – Editor ( appearance is a drop down – if you only press Editor – you will open the first point – themes)
on the right side there will be a list of files / folders
there is a functions.php ( but be sure you are using a child-theme – even if you will manage to edit the file on parent-theme – changings will be lost on next update)

on a fresh child theme install there will be only:
<?php /* * Add your own functions here. You can also copy some of the theme functions into this file. * WordPress will use those functions instead of the original functions then. */and – yes there is no closing tag at the end of that file
Erste Anlaufstelle sollte die Dokumentation sein, welche ausserdem auch beim Download des gesamt Paketes von Envato mit dabei ist.
Online zu finden unter: https://kriesi.at/documentation/enfold/
Es finden Sich dort gute Anleitungen, und downloads ( auch eines blanken Child-Themes ) und Snippets welche Anpassungen ermöglichen.child-theme : https://kriesi.at/documentation/enfold/using-a-child-theme/
Weiter unten siehst Du was man macht, wenn eine bestehende Enfold Installation umgestellt wird auf Child-Theme.
Es gibt etliche Empfehlungen im Internet bezüglich des Nutzens eines Child-Themes. Ich kann dem nur beipflichten, gerade um Updates gefahrlos zu fahren ohne spezielle Einstellungen zu verlieren.
click on the image to enlarge – ich glaube das ich das Backend auf Deutsch für dich lassen konnte:

and

for my test here i got the following quick css#socket { min-height: 450px; display: flex } .socket_color { background-size: cover } #socket .copyright { float: none; display: block; text-align: center; font-size: 48px; line-height: 60px; top: 60%; position: relative; color: #f00; }See demo here: https://webers-testseite.de/bernhard/
This comes to your functions.php of your child-theme:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Kaushan Script'] = 'Kaushan Script'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Kaushan Script'] = 'Kaushan Script'; return $fonts; }The plus sign in the font should not be here – than it will work
did you solve it by yourself – i can not see that menu item called menu
March 17, 2018 at 4:34 pm in reply to: Changing the font size of a H1 text inside a text-block in a portfolio item #928512thats it !
March 17, 2018 at 4:31 pm in reply to: My website it's very low on http but seem good on https #928511And no i can not login – because i’m Participant as you – i do not see private content area
Sorry – i can not see any private content
March 17, 2018 at 12:37 pm in reply to: My website it's very low on http but seem good on https #928446no that is ok that your child-theme functions.php do not have that closing tag.
And no i can not login – because i’m Participant as you – i do not see private content area
March 17, 2018 at 11:19 am in reply to: Changing the font size of a H1 text inside a text-block in a portfolio item #928431hm – more than one h1 per page ? this is no good behavior – google don’t like it if a page has more than one h1 each.
try this first – for the buttons you talk to – is it the same link?.product_title.entry-title { font-size: 18px; }.avia-button-fullwidth .avia_iconbox_title { font-size: 18px; }.avia-button .avia_iconbox_title { font-size: 14px; }look to the code not given by youtube on clicking the embed code – look to the browser url of your video (does not work on video alb element)
there is something like:https://www.youtube.com/watch?v=mlf4bidp2yc– behind that add that?autoplay=1&ecver=2&showinfo=0&loop=1&rel=0the ecver=2 is to get rid of that overlay on pause the video
– but that is not so important here as color-section background videoif you have an image and want to link to a yourtube video in a lightbox – take the same code as above and ad
&iframe=truebehind the link:
https://www.youtube.com/watch?v=mlf4bidp2yc?ecver=2&showinfo=0&autoplay=1&loop=1&rel=0&iframe=trueclick the image to start the lightbox video
see here in action: https://webers-testseite.de/weber/karte/March 17, 2018 at 10:38 am in reply to: My website it's very low on http but seem good on https #928424first of all – it should not run in http mode anyway. If so – you have done something wrong on setting it up.
The reason for setting up a site as SSL secured is that it always runs this way.
After switching to https – did you realy change all entries concerning to that protokoll?
I mean not only the wordpress url / site url in General Options of WordPress.
Have you any entries concerning to your url f.e. in wp-config.php of your wordpress install or in htaccess ?
For my customers who switched a running system to https – i do a Search and Replace in Database to realy be sure that every link was switched. This is a realy nice tool – but be shure what you do.
F.e. a desaster would be to search for http and replace it with https –
so better to use the replace domain url option – or to search for more specific text like http://your-domain and replace it with https://your-domainDepending on your provider, you can set a forced https option – but this is possible in htaccess as well.
But i guess real performance problems comes from setting up the cdn in combination with caching tools.
So i guess you would like to wait til a mod here has a login and look to your installation.March 17, 2018 at 10:04 am in reply to: ">" Text over a Full picture slider missing the picture #928420hm : https://webers-testseite.de/full-width-slider/
But: yes you are right if i try to edit that again – code was changed to the real sign back ! and than the image is gone.
So you can do it in one turn – and do not edit that caption / slider again. ! strange-
This reply was modified 7 years, 8 months ago by
Guenni007.
still my tip: use svg
make the browserwindow very small and see the differenceimage link to download: https://webers-testseite.de/wp-content/uploads/Magda.svg
Download the Illustrator Dok for changing text – but it would be best if you have svgs with only path (vectors) in it – so transfer fonts to path before saving as svg ( Link )the other image is not sharp because you inserted the small calculated image of a i believe no sharp big image:
/wp-content/uploads/2016/12/Magdalena_Rytwinska-Rasz_4871_300x600px.jpg
the full version isn’t there?-
This reply was modified 7 years, 8 months ago by
Guenni007.
what do you mean by copy right menu? a copy right info only
the socket itself (Sockel in German) does have allready the option of copyright info. You only need to give it a bit css to make it bigger.
On Enfold styling you can have background-image for Socket too ( you can upload your own there)
and only have to determine a min-height f.e. for the socket.March 16, 2018 at 1:30 pm in reply to: ">" Text over a Full picture slider missing the picture #928082if the html entitie does not work try the unicode dezimal
see here: http://unicode.e-workers.de/entities.php
for greater than>edit haha boardsoft will transfer directly to the signs:> with ;behind ( the semicolon behind will make it)
and for less than<samething :< with ;
maybe they will work better (allthough i don’t know why)Edit: the softhyphen set if you want to have an invisible breakingpoint
( ­ with ;)often did not work on Enfold headings or captions – but the
­ with ;will work .March 15, 2018 at 5:37 pm in reply to: Enfold LayerSlider WP issue ! Font style on mobile not correct #927513look at Anton : https://fonts.google.com/specimen/Anton
little g is a bit different and big Qor you may upload the impact ttf file to https://www.fontsquirrel.com/tools/webfont-generator – and download the generated webfonts
i mean that right – up to date
edit _: i see it is advent procan you let me see a link on that – screenshot is not helpful
i mean the domain seems to be clear :lol but the link would be greatBy the way – what font is it?
ok i see what happend –
Compared to the previous version, you changed the order.on 4.2 in register-admin-options.php the new filter ( avf_register_custom_backend_styles ) is behind !:
and this is a logical sequence – first register the options than customize it.You might change this in next update please
//required for the general styling color schemes include('register-backend-styles.php'); //required for the general styling google fonts include('register-backend-google-fonts.php'); //required for the advanced styling wizard include('register-backend-advanced-styles.php');on 4.2.6 and i guess 4.2.5 it is before register-backend-advanced-styles !!
can be closed on my end here.March 15, 2018 at 12:40 pm in reply to: Italic font (not oblique) when using the italic button in i.e. ”Text Block”. #927250on register-backend-google-fonts there is the info which fonts are loaded
on open sans there is:'Open Sans'=>'Open Sans:400,600',so i guess that the real italic isn’t loaded if you choose on Enfold Options Dialog the Open-Sans Font.
i think for you it might be the best to load a new set – and i called it now : Open Sans Plus Italic
this to your functions.php of your child-theme:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Open Sans Plus Italic'] = 'Open Sans:300,300i,400,400i,600,600i,700,700i'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Open Sans Plus Italic'] = 'Open Sans:300,300i,400,400i,600,600i,700,700i'; return $fonts; }you will than have at the end of the enfold font list – last entry : Open Sans Plus Italic
i hope – if you choose the italic option it will take the correct font-style-
This reply was modified 7 years, 8 months ago by
Guenni007.
Let the input field in Enfold Google Map api empty !
because it does not load – if there was no input in that field
EDIT: this is what enfold would insert if enfold options are set – it can be placed in footer too as well
add_action( 'wp_footer', 'custom_gmap_script', 10 ); function custom_gmap_script() { if( is_page(35) ) { ?> <script type='text/javascript'> /* <![CDATA[ */ var avia_framework_globals = avia_framework_globals || {}; avia_framework_globals.gmap_api = 'YOUR_API_KEY_HERE'; avia_framework_globals.gmap_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.30&key=YOUR_API_KEY_HERE&callback=aviaOnGoogleMapsLoaded'; avia_framework_globals.gmap_builder_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.30&key=YOUR_API_KEY_HERE&callback=av_builder_maps_loaded'; avia_framework_globals.gmap_backend_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.30&callback=av_backend_maps_loaded'; avia_framework_globals.gmap_source = 'https://maps.googleapis.com/maps/api/js?v=3.30&key=YOUR_API_KEY_HERE'; /* ]]> */ </script> <?php } }you had to modify YOUR_API_KEY_HERE to your Maps API Key 4 times !
you can see it here working: https://webers-testseite.de/weber/contact-2/
and on the other pages no gmap is loaded-
This reply was modified 7 years, 8 months ago by
Guenni007.
try a combination of this: (my test page was ID 35) and do not enter a google api key to enfold options dialog (save it)
replace the xyxyxy with your api key !Edit: go on with https://kriesi.at/support/topic/disable-loading-google-maps-api-where-not-needed/#post-926707
-
This reply was modified 7 years, 8 months ago by
Guenni007.
maybe a mod knows how to prevent the backend api load.
All frontend apis are disabled by this.try this to your functions.php of child-theme:
Example page here ID=3184 so if not page ID = 3184 than disableadd_filter('avf_load_google_map_api', 'disable_google_map_api', 10, 1); function disable_google_map_api($load_google_map_api) { if( !is_page(3184) ) { $load_google_map_api = false; return $load_google_map_api; } }March 14, 2018 at 3:16 pm in reply to: (German) DSGVO – Deutschland, Datenschutz, Google Fonts, Google Maps, YouTube #926645do not forget the plugin itself with its given structure
the upload seems to be not full !
fonts are missing it goes from advent-pro till yellowtailAha – man muss die Shortcode Funktion erst aktivieren – das hier kommt in deine functions.php des child-themes:
function polylang_shortcode($atts, $content = null) { if (empty($content)) return ''; extract( shortcode_atts( array('lang' => ''), $atts ) ); if (empty($lang)) return "<h3>You must specify 'lang' using shortcode: polylang</h3>"; return ($lang == pll_current_language()) ? $content : ''; } add_shortcode('polylang', 'polylang_shortcode');dann kannst du das wie oben nutzen:
[polylang lang="en"]Whatever you like here[/polylang][polylang lang="de"]Was immer du auch hier haben möchtest[/polylang] -
This reply was modified 7 years, 8 months ago by
-
AuthorPosts


