Forum Replies Created
-
AuthorPosts
-
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 #1113724
And 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, 4 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/
June 18, 2019 at 7:51 am in reply to: Can I make the lightbox auto rotate? and trigger with single link? #1111204yes – on every gallery you like to start automatically – and you only have to add then analog lines to :
$('#av-masonry-1-item-125').trigger('click');
or change it to (but then all masonry galleries will do the auto start.) :
function start_with_clicked_state(){ ?> <script> (function($) { $(window).load(function() { setTimeout(function() { $('a.av-masonry-entry.lightbox-added:first-of-type').trigger('click'); }, 1000); }); })(jQuery); </script> <?php } add_action('wp_footer', 'start_with_clicked_state');
June 17, 2019 at 3:05 pm in reply to: Change H2 to H1 Titel at Fullscreen Slider – current version of Enfold #1111028naja die Slider und icon-box und icon-lists
Bei den Slidern wäre es deshalb gut, weil man hier dann pro Slide den heading-tag festlegen kann.
gerne könnt ihr auch meine Versionen nehmen und die Kommentare rauslöschen.June 17, 2019 at 6:48 am in reply to: Change H2 to H1 Titel at Fullscreen Slider – current version of Enfold #1110937ich würde auch eine Übernahme dieses Features begrüßen, denn die Anpassung an jedes neue Update ist schon arbeitsintensiv.
Leider entschloss man sich nur ein Filter für den Wechsel einzubauen. avf_customize_heading_settings
see here how to use it: https://kriesi.at/support/topic/timeline-milestone-h2-and-h3-tags-how-can-i-delete/#post-1098168June 16, 2019 at 9:21 am in reply to: Can I make the lightbox auto rotate? and trigger with single link? #1110771Aren’t you willing to accept or try a solution from a non moderator? ;)
if there are questions – tell meJune 15, 2019 at 11:37 am in reply to: having the content the same level on different devices #1110640No chance to reach it there without incorporating other layout errors. The heights of the contents are different.
And the read-more button is part of entry-contentOne thing could be to limit excerpts to a give length ( letters or words to have nearly the same excerpt height.
June 15, 2019 at 10:55 am in reply to: having the content the same level on different devices #1110631.page-id-102 #av_section_1 .avia-button.avia-size-large { padding: 15px 25px 13px; font-size: 13px; min-width: 150px; }
btw: you had to break your menu earlier – on screen-width less than 1216px you have menu-items in top-section
June 15, 2019 at 10:49 am in reply to: having the content the same level on different devices #1110630can you try this :
.page-id-102 #av_section_1 .avia-button-wrap.avia-button-center.el_after_av_hr.avia-builder-el-last { position: absolute; top: auto; bottom: 20px; left: 50%; transform: translateX(-50%); } .page-id-102 #av_section_1 .hr-invisible.el_after_av_textblock.el_before_av_button { padding-bottom:40px }
i see you use autooptimize etc. – refresh all cached versions – maybe refresh merged files on enfold too
PS: the one thing with the button on hover on all screen-width i’m on that behavior now to solve -
This reply was modified 6 years, 4 months ago by
-
AuthorPosts