Forum Replies Created
-
AuthorPosts
-
The plugin still works well – you only had to set a rule for the class that will wrap the searched terms.
f.e..hilite { background: #fff67a !important; color: #000 !important; }June 30, 2019 at 8:54 am in reply to: Adding a custom scripts to the head section in my wordpress #1114571PS : please always use here on board for code the code-block tag – it is easier to test for us by copy paste the codes inside – as you can do now with the code above.
June 30, 2019 at 8:50 am in reply to: Adding a custom scripts to the head section in my wordpress #1114570in head section you can try this in child-theme functions.php:
add_action( 'wp_head', 'custom_tracking_script' ); function custom_tracking_script() { ?> <!– Hotjar Tracking Code for http://www.digitalsuccessguide.com –> <script> (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:1383965,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); </script> <?php }this is definitly the right way to embed but if the script isn’t loaded with warnings – you have to check the the code from hotjar
June 30, 2019 at 8:30 am in reply to: Texte von Teilen der Website wirken wie in den Hintergrund eingebunden #1114569vielleicht nehmt ihr das jameda blau mit Schatten:
/***** Textauswahlfarben****/ ::selection { background: #3cb8dd !important; color: #fff !important; text-shadow: 1px 1px 1px #333 } ::-moz-selection { background: #3cb8dd !important; color: #fff !important; text-shadow: 1px 1px 1px #333 }June 30, 2019 at 8:22 am in reply to: Texte von Teilen der Website wirken wie in den Hintergrund eingebunden #1114565Die sind schon ausgewählt, nur habt ihr die gleichen Farben dafür wie die Hintergrundfarbe gewählt.
Ich denke, dass es auch über das Enfold Optionen Menu geht, ich setze hierfür meist dies in die Quick css ein:/***** Textauswahlfarben****/ ::selection { background: #E3212F !important; color: #fff !important; text-shadow: none ; } ::-moz-selection { background: #E3212F !important; color: #fff !important; text-shadow: none }wählt dann euer Farben selbst aus
(PS : ihr müsst denke ich nach dem Einsetzen des Codes die gemergeten Files löschen : Enfold-Child / Performance / Delete old CSS and JS files? )so Aleo is not in the set of Enfold implemented choice.
Go to the aleo page: https://fonts.google.com/specimen/Aleoif you click on “select this font” on top right position there will be on the bottom a slide out window.
Click on that little dark gray slide out window. Now you see the implementing options.
You can customize the import options f.e. if you like to have the bold (700) font-style.Standard:
<link href="https://fonts.googleapis.com/css?family=Aleo&display=swap" rel="stylesheet">
@import rule:
@import url('https://fonts.googleapis.com/css?family=Aleo&display=swap');
or with bold font style:
@import url('https://fonts.googleapis.com/css?family=Aleo:400,700&display=swap');
the last rule could be placed f.e. on your child-theme style.css. ( Dashboard / Appearance / Theme Editor )after that you can use the font for definitions in quick css as:
font-family: 'Aleo', serif;
so f.e.:h1 { font-family: 'Aleo', serif; }On GDPR Reasons it might be better to load the font locally.
Enfold got some Options for that:
All is said on f.e.: https://kriesi.at/documentation/enfold/typography/#register-additional-google-fonts-for-theme-optionsif you like to have the newly added font in Enfold Font Choice you can do that via a littel snippet for child-theme functions.php:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Aleo'] = 'Aleo:400,700&display=swap'; return $fonts; } add_filter( 'avf_available_google_fonts', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Aleo'] = 'Aleo:400,700&display=swap'; return $fonts; }the font will be on the font list on the bottom of the lists.
let the break when it changes to show the hamburger menu start earlier. more than 1024px
June 26, 2019 at 10:17 pm in reply to: Blank Strip at the top of page and Favicon isn't what I've set it as #1113724And Ipad is 768px wide on portrait !
so the media query code can’t grip.And the meaning of : Almost all of those Icons can be selected is now clear enough.
in mathematics means almost : all but a finite number. ;)with the help of icomoon app i generated a enfold entypo demo :
these are all used (implemented) icons from enfold.
https://webers-testseite.de/enfold-entypo/
a usefull thing is to know the code the icon has.Please Mods correct me if I’m wrong there, but this site is not a demo site of Enfold!
The demos concerning Enfold can all be found at: http://kriesi.at/themes/enfold-overview/
However, you can upload your own set using the Enfold options. The best way to do this is to go to the Fontello page.Very popular there is Font Awesome’s set, which via Fontello is not quite complete either, but can be used freely.
on default the filter had to work –
you can try this – maybe it works better:
for your child-theme functions.php
don’t see your site so you had to know your selector by yourself : but guess it is right:// Excerpt length function custom_grid_excerpt(){ ?> <script> (function($){ $(window).load(function(){ $('.grid-entry').each(function() { $(".entry-content").text(function(index, currentText) { return currentText.substr(0, 20); }); }); }); })(jQuery); </script> <?php } add_action('wp_head', 'custom_grid_excerpt');for blog the part in the middle of that function will be:
$('.post-entry').each(function() { $(".entry-content > p").text(function(index, currentText) { return currentText.substr(0, 20); }); });June 22, 2019 at 5:05 pm in reply to: Issue with uploaded font disappearing when SSL certificate is applied. #1112590I don’t see the page you’re referring to – but here in this code you can see in the comments what the font files are for:
/* allerta-stencil-regular - latin */ @font-face { font-family: 'Allerta Stencil'; font-style: normal; font-weight: 400; src: url('../fonts/allerta-stencil-v9-latin-regular.eot'); /* IE9 Compat Modes */ src: local('Allerta Stencil Regular'), local('AllertaStencil-Regular'), url('../fonts/allerta-stencil-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/allerta-stencil-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/allerta-stencil-v9-latin-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/allerta-stencil-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/allerta-stencil-v9-latin-regular.svg#AllertaStencil') format('svg'); /* Legacy iOS */ }this will be the highest compatiblitiy .
If you are only using : woff – supported devices are lower.best would be to see your site to give advice.
i do not see your site but a box-shadow is always out of the box. So the containers have to have overflow : visible on that case
Have a look if a parent-container got overflow: hidden.PS: didn’t the columns got that alb option on Border Tab: Column Box-Shadow
PPS: if you got the custom-class on the flex-column: it is on that container itself so:
.flex_column.amg-box-shadow { box-shadow: 0px 10px 40px -15px rgba(0,0,0,0.65); }if you gave the custom-class to the surrounding container ( on most cases a color-section) so all columns inside will get the box-shadow:
.amg-box-shadow .flex_column { box-shadow: 0px 10px 40px -15px rgba(0,0,0,0.65); }try it first without !important
thank you, but i don’t want to create a new (icon)Font, just want to put another ICON in the Top of the box.
maybe this is a hint to do it: https://kriesi.at/support/topic/custom-icons-blank/#post-1111653
On that special case i replaced all the existing icons “bell” of entypo-fontello with an uploaded svg file (png).
The trick is to get rid of the “content” ( data icon of the entypo-fontello) and place a background-image to that container.But you can do this once for any entypo-fontello icon ( not to replace all bell icons ) but the method is similar to that method
May i see your site link?
June 22, 2019 at 7:23 am in reply to: Code Block Element doesn't handle shortcodes properly #1112523Well with borlabs nick and link to borlabs page – i guess he is a developer for borlabs ;)
June 21, 2019 at 11:03 am in reply to: Can I make the lightbox auto rotate? and trigger with single link? #1112290can you try this in child-theme functions.php:
function masonry_title_fix(){ ?> <script> (function($){ $(window).load(function() { $('a.av-masonry-entry.lightbox-added').each(function(){ var lin = $(this).find('.av-masonry-entry-content').text(); $(this).attr('title',lin); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'masonry_title_fix');but you had to choose to show on the gallery both : title and excerpt (that is the entered Caption)
If you only want to have under the gallery images the title – but on lightbox the caption – just do this to quick css:.av-masonry-entry-content.entry-content { display: none !important; }see here: https://webers-testseite.de/gallery/
But the hint with the double function name can still be internalized, right?
Especially because some of the snippets offered here often have the name: ava_custom_scriptFirst : use the code tag to post code here on board. Then we can see if you are using correct Brackets, Quotationmarks etc. pp.
And: it can be copy/pasted to proove or to insert it where you like.
Second : A function name should be always unique in your functions.php ! : with your code on top, you violated that rule.
(But on newer WP Versions the site should crash – it has some warnings on the bottom and does not save the changings – so ? )you can shorten your code above to:
// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['yelp'] = array( 'font' =>'fontello', 'icon' => 'uf1e9'); $icons['tripadvisor'] = array( 'font' =>'fontello', 'icon' => 'uf262'); return $icons; } add_filter('avf_default_icons','avia_add_custom_icon', 10, 1); // Add new icon as an option for social icons function avia_add_custom_social_icon($icons) { $icons['Yelp'] = 'yelp'; $icons['TripAdvisor'] = 'TripAdvisor'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);your font is named really : fontello ? – so you didn’t enter on top of fontello site a font-name?
you do really mean vertically? The most wanted fix is to center them horizontally.
so a bit offtopic: these font-icons are nice to have and a quick way to style buttons etc. with icons. You are alway resticted to monchrom usage.
So if you only have to work with some or – always the same icons you can replace the inserted icon from entypo-fontello by a png or svg – if you like.
give a custom-class to the container where you want to replace the icons. —- in my case it is : spezial-icon
CSS code is a bit different if you got chart or icons
here i replace that little bell icon – you find the code to insert on hovering the icon on the select field. you will find for the bell: \ue83d
erase the “u” in it. (by the way the backslash on mac keyboards is on shift+option+7 – on pc there is an extra key for it)
you have to look what you like to replace.spezial-icon .av-icon-char[data-av_icon="\e83d"]::before, .spezial-icon .iconlist-char[data-av_icon="\e83d"]::before, .spezial-icon .iconbox_icon[data-av_icon="\e83d"]::before { content: " "; display: inline-flex; width: 1.4em; height: 1.4em; background-size: contain; background-repeat: no-repeat; background-image: url("//the-path-to-your-image/image.svg"); position: absolute; top: 50%; left: 50%; transform: translate(-50% , -50%); } .spezial-icon .av-icon-char[data-av_icon="/e83d"]::before { position: relative; top: 0 ; left: 0 ; transform: none; }the width and height is set by relative values to the font – so it is synchonized with the font-size of the entypo-fontello font icon.
Play a bit with these values.-
This reply was modified 6 years, 5 months ago by
Guenni007.
create a post with the needed elements – which you do not link in your menu – maybe you exclude this post from search.
Or if you know all of the elements you used – activate them manuallyJune 19, 2019 at 12:03 pm in reply to: Change H2 to H1 Titel at Fullscreen Slider – current version of Enfold #1111583wäre auch für mich eine große Zeitersparnis.
Zudem glaube ich, dass es in der Tat aus SEO Gründen wirklich gut wäre hier eine abgestufte Heading Hierarchie zu ermöglichen.just one moment – i had to proove the css
edit: sorry – is probably too complex to explain here
you can delete the entryJune 18, 2019 at 3:32 pm in reply to: @Guenni007: Problem with your modificated iconlist file for adding h-tags #1111329no – the code is as i expected it. And the sequence there is like mentioned above.
i only adjusted the icon-list code to that sequence like in icon-box code and erased that line :$this->iconlist_styling = '';
For me, this is an overdetermination like mentioned here: https://kriesi.at/support/topic/icon-list-element-issue/#post-1085579_______
But I’m really not a good coder now. I can only compare the source codes and see the differences and logical relationships. Since the icon box was running – I just looked what the difference was to Icon-list in the queries.
There I saw that just the order is different within function shortcode_handlerJune 18, 2019 at 3:17 pm in reply to: @Guenni007: Problem with your modificated iconlist file for adding h-tags #1111324by the way – don’t know if it is important:
on my customization i now changed back the position of initialisation to enfold former sequence.
then it works as expected.these lines here:
$this->icon_html_styling = ''; $this->title_styling = ''; $this->content_styling = ''; $this->content_class = ''; $this->title_class = ''; $this->iconlist_styling = '';comes after the
extract( shortcode_atts( array( …on iconboxes too.
June 18, 2019 at 3:11 pm in reply to: @Guenni007: Problem with your modificated iconlist file for adding h-tags #1111322see here my comment and the discussion :
https://kriesi.at/support/topic/icon-list-element-issue/#post-1080940
and
https://kriesi.at/support/topic/icon-list-element-issue/#post-1085579after this 4.5.6 and 4.5.7 comes with both lines (and the missing ones)
having both in the code comes to conflict with my customizations. Don’t know whyJune 18, 2019 at 2:56 pm in reply to: @Guenni007: Problem with your modificated iconlist file for adding h-tags #1111316can you please download again the new file from this page: https://webers-testseite.de/edited-enfold-alb-elements/#icons
not my code was wrong – ;) there were changings in 4.5.5 to 4.5.7 which results in that fault.
in 4.5.5. there is not :
$this->iconlist_styling = ”;
and that:
$this->iconlist_styling = $iconlist_styling == ‘av-iconlist-small’ ? “av-iconlist-small” : “av-iconlist-big”;there was another post here where i’m asking if it is not doubled here.
if like in the 4.5.7 it is in that way. My edited alb with this comes into conflict.
if i erase the first line:$this->iconlist_styling = '';it works as expected before.this seems to come to no conflict with default h4 (fixed) tag but
for my inserted custom title tag – it seems to be important.try the new file: https://pastebin.com/dl/ET7Egx2p
June 18, 2019 at 8:16 am in reply to: Can I make the lightbox auto rotate? and trigger with single link? #1111206some words to that plugin. Seems to be a good one. But:
ask the developer if it is compatible with Enfold – or search the internet for some hints if it is working with enfold.
This plugin – does it work with its own lightbox script. Can you use both lightbox (magnific popup from Dmitry Semenov) and that of your plugin?
Etc pp.;)
https://enviragallery.com/docs/enfold-theme-enviras-automatic-gallery/
-
This reply was modified 6 years, 5 months ago by
-
AuthorPosts
