Forum Replies Created
-
AuthorPosts
-
best – i think is to give it to the: #header .avia_mega_div
and that is the selector where you can change even the box-shadow – maybe a glooming white will be nice for your site.#header .avia_mega_div { border-radius: 20px; box-shadow: 0 0 15px 5px rgba(255,255,255,1) !important; }
The second link you have specified – do you mean the dividers between sections?
( on top it is only a svg file as background-image – thats possible in Enfold too )
I fully agree, that would indeed be a very, very nice thing to have.
It is possible to get it via child-theme functions.php and some svg usage – but this is something that is not easily accessible by normal users.
( see here some examples: https://webers-testseite.de/guenni/ )Enfold already has a suitable place where you can place these dividers. Each color section has a div.container as a direct child. These separators can now be placed in front or behind this div (as sibling). The rest is then only css.
______
That little movement of the mobile on scrolling down – can be obtained via waypoint script ( that is already implemented in enfold)
but this too: is something that is not easily accessible by normal users.
https://webers-testseite.de/images-in-motion/on the first page of the fullwidth easyslider there is an option to choose:
Autorotation active?
Check if the slideshow should rotate by default
it is on default to : no
did you change that?_____
you mean the footer widget area.
First of all : goto Dashboard – Enfold (Child) – Footer and see what you have here
you have the choice to determine the outlook of your footer here!
Here is the setting on what to show – how many widget areas will be shown on frontend, and the copyright info on your very bottom of your page.It seems that you have 3 Footer widget-areas here.
So now goto Dashboard – Appearance – Widgets
you see three footer widget areas here. ( footer – columns) each of them has a littel toggle arrow on the right.
you can place the widgets on the left by drag&drop them to the widget-areas.
Or the same thing on each widget there are toggle arrows too: press them and choose a widget-area they should be placed.
I prefer the drag&drop method.
If the footer-widget-area ( f.e. footer-column1 ) is empty – enfold places a dummy content in there.
these are in for first , second, etc.:
Interesting links / Pages / Categories / Archive / Bookmarks
( by the way this is determined in the file : enfold – includes – admin : register-widget-area.php )Well for copy a whole page or post etc – something that was working long time with enfold is to activate the debug mode and copy/paste the enfold shortcodes under the editor field. After saving the pasted code – you have to adjust the image links etc
Activate the debug mode – put this to child-theme functions.phpadd_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug(){ return "debug"; }
__________
On newest enfold there is now one new feature : Export Layout Builder Templates on Import/Export Tab.
this is to exchange all of your templates made in one installation
-
This reply was modified 5 years, 9 months ago by
Guenni007.
January 22, 2020 at 10:55 pm in reply to: media queries not working in styles.css in Child theme #1177349this syntax is absolutely correct – but what about before this entry. Is that all you got in your quick css ?
January 22, 2020 at 6:08 pm in reply to: Adjusting JPEG compression via functions.php file (works only in theme file!) #1177243there must be a different error. This is a fundamental behavior of WordPress itself.
If there is a “Pluggable-Function” used – and this is allways the case if it is built via :if (!function_exists('my_parent_theme_function')) { function my_parent_theme_function() { // Code of your pluggable function } }
you can allways override the function this way (without the if-clause) in child-theme functions.php with :
( because – child theme functions are being executed first in WordPress)function my_parent_theme_function() { // Code of your pluggable function }
so maybe you are willing to post your whole child-theme functions.php here – to see if there are additonal errors.
_________
a link f.e.: https://mhthemes.com/support/knb/overriding-parent-theme-functions-child-theme-tutorial/
January 22, 2020 at 5:40 pm in reply to: How to disable tabs on element edit in new enfold?? #1177237Thanks Günter – i can wait till next update
January 22, 2020 at 1:34 pm in reply to: Adjusting JPEG compression via functions.php file (works only in theme file!) #1177178i have no errors on that before:
Enfold is managing this in functions-enfold.php line: 2318
(newest Enfold 4.7.2 )if( ! function_exists( 'av_return_100' ) ) { /** * Sets the default image to 100% quality for more beautiful images when used in conjunction with img optimization plugins * * @since 4.3 * @added_by Kriesi */ function av_return_100(){ return 100; } add_filter('jpeg_quality', 'av_return_100'); add_filter('wp_editor_set_quality', 'av_return_100'); }
you allways can replace an existing parent function if it is introduced by
if( ! function_exists(…
in the child-theme functions.php.
so i only used the existing function : av_return_100January 22, 2020 at 11:55 am in reply to: How to disable tabs on element edit in new enfold?? #1177134I got to be honest, I’m not a fan of the Toggles either.
There is probably a lot of work behind it to implement this feature.
Maybe just one option in the Enfold settings dialog ( f.e. in the layout-architect tab ) is enough to have them all opened.January 21, 2020 at 6:56 pm in reply to: issue: button not linking to _blank target since 4.7.1 #1176898Thanks – guess it can be closed because with 4.7.2 the issue is solved. And new window will be solved next Update ! :yoo
January 21, 2020 at 6:45 pm in reply to: issue: button not linking to _blank target since 4.7.1 #1176893Yes – works too : will it be included in next update?
January 21, 2020 at 3:04 pm in reply to: issue: button not linking to _blank target since 4.7.1 #1176761Thanks –
but why the other links ( from images, buttons, etc. pp ) got : nofollow noreferrer – and it works with new tab even on firefox
and the column links got : noopener noreferrer – and that does not work in new tab – just goes to new window ?could this be an alternative for line 642:
window.open( url, '_blank').opener = null;
that will open in new tab even on firefox
if you give to the icongrid alb element itself a custom-class f.e.: without-icons this class goes to the wrap container.
Then you only have to select the icons within custom class :.avia-icon-grid-container.without-icons .avia-icongrid-icon { display: none; }
-
This reply was modified 5 years, 9 months ago by
Guenni007.
January 21, 2020 at 10:18 am in reply to: issue: button not linking to _blank target since 4.7.1 #1176629thanks – seems to work as expected now in 4.7.2
except – link from column with target blank goes to new window on firefox and safari (on chrome it is ok).
maybe that is due to data-link-column-target ? and concerning script (in shortcodes.js 618ff) But i guess that this is the fact for a lot of older enfold versions too. Even if i go back to the shortcodes.js version without allow smoothscroll feature the links opens in new windows.PS: On image.php the id is only target – it works! but maybe it will be nice to have same IDs in source code for same behavior.
January 21, 2020 at 9:35 am in reply to: media queries not working in styles.css in Child theme #1176614can you post an example code you put in. Or maybe the whole quick css – sometimes there are only missing closing brackets or semicolon etc.
PS : please use for that the code tag of the board here.
January 21, 2020 at 12:29 am in reply to: Adjusting JPEG compression via functions.php file (works only in theme file!) #1176519have you tried this in your child-theme functions.php:
function av_return_100(){ return 65; } add_filter('jpeg_quality', 'av_return_100'); add_filter('wp_editor_set_quality', 'av_return_100');
thanks mike – i placed the script – i prefere now that one: https://kriesi.at/support/topic/only-have-header-show-when-user-scrolls-up/#post-1136162
again on the testpage: https://webers-testseite.de/guenni/
just that you can see that it works. Maybe there are some inconsistancies – because there are additional testings on the site (see hamburger behavior with main) etc. pp.Can you try it this way in child-theme functions.php:
add_action( 'wp_enqueue_scripts', 'enqueue_userway_code' ); function enqueue_userway_code() { wp_enqueue_script( 'userway', 'https://cdn.userway.org/widget.js' ); } add_action('wp_footer', 'add_userway_code'); function add_userway_code(){ ?> <script type="text/javascript"> var _userway_config = { account: 'nYMqWNnani'}; </script> <?php }
January 17, 2020 at 10:15 am in reply to: set the same font for different languages frontpage #1175289Polylang
As far as I remember, you could activate a shortcode extension at Polylang via child-theme functions.php.
Maybe you can use html layers or text-layers in advanced layerslider with these shortcodes in that manner:
[polylang lang="en"]English Content [/polylang][polylang lang="it"]Italian Content[/polylang]
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');
January 16, 2020 at 11:21 pm in reply to: issue: button not linking to _blank target since 4.7.1 #1175214No that is just for info to the mods – because as i said on top: there must be a different inconsitency.
Some ALB elements run with the other link_target ID. This is something for the other “Günter”
SorryJanuary 16, 2020 at 4:11 pm in reply to: issue: button not linking to _blank target since 4.7.1 #1175075there must be a different inconsitency there are alb elements where the link_target ID works as expected !!!
slideshow buttons for example ( or logoslider ) – there is in av-helper-slideshow.php the usage of ID : link_target and the buttons goes correctly to target blank if set !
the change now works on : buttons (all: buttons-row fullwidth-button) / icon-grid / headings / image_hotspots / promobox / timeline / accordion-slider / easy-slider.
on image the ID : target is used and it works !-
This reply was modified 5 years, 9 months ago by
Guenni007.
January 16, 2020 at 4:09 pm in reply to: issue: button not linking to _blank target since 4.7.1 #1175072On Columns you had to look in a different way. This is via data-link-column-target and based on script (shortcodes.js)
But i realy do not know why.
If i change it in headings.php the same thing – then it works but …January 16, 2020 at 3:50 pm in reply to: issue: button not linking to _blank target since 4.7.1 #1175055Yes in a new window ! that is not the way it should work! If i setup my browser to open in a new tab if target is blank !!!
i guess it is a “orthographic” error ;) ( take buttons.php and look _ there will be for link target the id: link_target – all other alb elements where the link is set correct with target blank have id: linktarget )
if i replace in the source code of buttons.php all and id too to linktarget$link_target with $linktarget
it will open the way i like to have.January 16, 2020 at 3:03 pm in reply to: issue: button not linking to _blank target since 4.7.1 #1175024And by the way – the link of a column goes to a new window – not a new tab- if it is set to blank
Actually it doesn’t matter where the theme is hosted as long as it meets the minimum requirements.
But please – if you mentioned ftp – look to your folders if the child is a sibling to the parent theme! That is a fundamental basic requirement.What is the content of your child-theme style.css : please post it here.
see f.e. here some sort of glassy buttons – styled from enfold buttons with light-transparent setting and with custom-classes set.
https://webers-testseite.de/buttons/the classes are set in the button-alb itself (Developer tab)
By the way : on Dashboard – Menu the classes input field for each menu-item are not visible on default.
You can activate to show different things on that page if you open the flyout on top of the menu dialog: “Screen Options”
you can mark the things you like to have – and then each menu-item option can be seen on toggling that littel arrow on the right side of the menu-item-
This reply was modified 5 years, 9 months ago by
Guenni007.
January 16, 2020 at 1:21 pm in reply to: set the same font for different languages frontpage #1174928By the way – on advanced layerslider i would style the h4 tag not this way (content tab) but use the style tab to do it.
The way you do it is to have a h4 set on the content tab with a p-tag in it.
You can have span-tags in h-tags but p-tags in h-tags is not w3c valideOn your other slides you haven’t done this – there are divs (neither h-tag nor p-tags etc.)
So if you like to have the same styling : use the same markup ( h4 etc – )
January 16, 2020 at 1:15 pm in reply to: set the same font for different languages frontpage #1174923First : i do not see in your description above with what kind of lang-plugin you are working with.
If it is WPML : WPML has on Enfold Options Page for each language a different settings dialog.
– so you can style each langage in a different way!
– if you do not like to have different stylings for your languages – my advice is to style the main language first and synchronize later the enfold settings!That is something general on that!
Now: what would i do if i have to have different slider contents on each language.
– i would style the main-language first till it is ready to use.
– after that i will make a clone of it ( on list-view of the sliders you got on the right side the option to duplicate a slider
– rename that duplicate to f.e. homepage-slider-english etc.pp
– edit this slider-copy with the new translations– place on the translated page that lang-specific slider.
January 13, 2020 at 12:52 am in reply to: How to replace rather than add to enfold sidebar? #1172605Another idea is to edit the register-widget-area.php file and use the filter: avf_show_default_sidebars
but this had to be shown by mods here – i had to go for now. -
This reply was modified 5 years, 9 months ago by
-
AuthorPosts