Forum Replies Created
-
AuthorPosts
-
and do not use the rule “lighter”
set font-weight to 300body#top { font-weight: 300; font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
__________________
Edit – here because topic is closed !
i think there has to be something wrong.
I do activate the hind font locally on a test page –
the 300er font-weight is a bit thinner than the 400.Compare the justified text-blocks under “Leistungen” and “Scanservice”
https://webers-testseite.de/guenterweber/-
This reply was modified 7 years, 3 months ago by
Guenni007.
if you have here on content font hind defined as the font to use – you don’t need to determine it again in quick css !
have you a link to the site?
or you can activate it via : (EDIT you do not need it if you have set it as content font in enfold options )
add_action('wp_head', function() { ?> <link href='http://fonts.googleapis.com/css?family=Hind' rel='stylesheet' type='text/css'> <?php });
read the edit above i wrote something additional
but you should know that if you like to have it only for some css rules – the font isn’t activated till you use it in enfold options dialogs.
If you don’t want to use it as content font globaly – you can define it for example as h6 in advanced styling. this starts the activation of the font. the code above only makes it selectable in fonts choice.after that you can define css rules with font-family : hind
down the second rule about content fonts:
each of them needs the return $fontreturn $fonts; }
but you should know that if you like to have it only for some css rules – the font isn’t activated till you use it in enfold options dialogs.
If you don’t want to use it as content font globaly – you can define it for example as h6 in advanced styling. this starts the activation of the font. the code above only makes it selectable in fonts choice.the code above isn’t complete:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Hind'] = 'Hind:300,400,700'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Hind'] = 'Hind:300,400,700'; return $fonts; }
also mein weg oben ja? – es ist immer schön eine Rückantwort zu bekommen. Nicht für das Danke das es geklappt hat, sondern ich kann es dann aus den Topics nehmen die ich für einen Nachbearbeitung in der Liste habe.
Viel Erfolg – sieht toll aus die Seite – und vor allem auch das was es beschreibt. Macht richtig lust mal wieder in den Bergen Urlaub zu machen.-
This reply was modified 7 years, 3 months ago by
Guenni007.
March 19, 2018 at 1:01 am in reply to: Embed 360 degree image in fullscreensection via iframe code #928830is there a livelink to look for ?
he means this : https://kriesi.at/#what-you-get
it is all in the code maybe you can find the js in a bwp-minified js file search for “avia-principles”
hm – Es scheint ja jetzt zu gehen oder? ich sehe jedenfalls im Link oben, dass der Sockel jetzt zweisprachig ist !
Wie hast Du es denn jetzt gemacht ?
Danke für die Rückmeldung© Copyright – Zechmeisterlehen ****s Berchtesgaden in the Berchtesgadener Land · Privacy · Imprint | Concept & Design by GASTROpoint GmbH
versus
© Copyright – Zechmeisterlehen ****s Berchtesgaden im Berchtesgadener Land · Datenschutz · Impressum | Konzept & Design by GASTROpoint GmbHMarch 18, 2018 at 11:29 pm in reply to: Embed 360 degree image in fullscreensection via iframe code #928820i figured it out a few weeks ago that iframe realy didn’t work well. i hope this will be fixed soon because a lot of possibilities f.e. with youtube videos only work with a good iframe function.
See here the mod comment: https://kriesi.at/support/topic/new-enfold-troubles-with-iframe/#post-905722
Die CSS – Quick css sind nicht nach einem Update verschwunden.
Die lagert Enfold nämlich in dem Ordner wp-content/uploads/dynamic_avia ab. Dort sind Sie eigentlich nicht von einem Parent-Theme Update betroffen.
Da ein Child-Thema aber lediglich 2-3 Dateien mit einem Volumen von 25kb ausmacht (Es sei denn man hat umfangreichere Veränderungen vor) wäre das jetzt auch keine Performance Belastung.
Sobald man aber Snippets ( Link )benutzen möchte um Anpassungen am Thema vorzunehmen, ist ein Child-Theme ratsam.Es ist keine Hexerei, und die Beschreibung ist sehr gut. Die Files liegen zum Download bereit, und die Übernahme der Eltern Eintstellungen wird einem duch Enfold schon sehr erleichtert.
Aussderdem selbst wenn es nicht auf Anhieb klapt, kann man das Eltern Thema wieder aktivieren, und die zB quick css Einstellungen via copy/paste übernehmen.
Zuerst sollte allerdings die Methode über dies hier erfolgen
classes you are able to combine an this makes sense.
on that enfold field to insert the combined classes only seperated by a space
so if you have this for a div in your input filed abc def
the output will bediv.abc.def
and you than can select each class seperatly.abc { … } .def { … }
yes some people have plugins or in wp-config f.e. that line :
define( 'DISALLOW_FILE_EDIT', true );
which surpesses the editorOn Contact Form 7 you can define a tmp path to the folder where the images are saved temporarly via wp-config.php:
define( 'WPCF7_UPLOADS_TMP_DIR', '/your/file/path' );
this is nice to have because you can secure that folder via htaccess and secure advices in the net.
cf7 did on that uploads dir a htaccess on default – i did change it todeny from all <Files ~ “^w+.(gif|jpe?g|png|pdf)$”> order deny,allow allow from all </Files>
see here: https://contactform7.com/file-uploading-and-attachment/
i believe CF7 got this option but i would like to warn you about that. You have to know how to prevent attacks
cf7 for example has an upload limit and a file-type field – so you can choose what files are allowed to upload.Some Infos on that ( first i found via Goolge – but Inet is full of warnings)
File Upload Forms are a Major Security Threat
https://www.acunetix.com/websitesecurity/upload-forms-threat/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=0
the 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=true
behind the link:
https://www.youtube.com/watch?v=mlf4bidp2yc?ecver=2&showinfo=0&autoplay=1&loop=1&rel=0&iframe=true
click the image to start the lightbox video
see here in action: https://webers-testseite.de/weber/karte/ -
This reply was modified 7 years, 3 months ago by
-
AuthorPosts