Forum Replies Created
-
AuthorPosts
-
Hi Gunter,
Thanks for you help (and your patience :-) ) This code works!!
Thanks a lotBR
jeffHi Gunter,
What code/ filter do I have to add exactly? Currently I added this to the functions.php in the themes/enfold/functions.php
add_filter( ‘icl_ls_languages’, function( $languages ) {
$languages[‘cs][‘url’] = ‘theurltolinkto’;
return $languages;
});Hi Gunter,
I’ve tried both options, but both did not work.
Yes I did > see their reply
By the code of your theme, Enfold is changing the URL of the homepage and so this problem is happening.
This is happening in the file “enfold/config-wpml/config.php” at line 276. Your theme is forcing the default URL on the homepage:
1
if(!avia_is_overview() && (is_home() || is_front_page())) $lang[‘url’] = $sitepress->language_url($lang[‘language_code’]);
I did not find any filters to disable this or change the behavior of your theme. In this case, I should recommend that you contact the author of your theme so that they can check this out.You may need to remove these codes from your theme and use the native WPML selector. Or you can create a child theme to try to filter this URL.
Anybody from support with the solution?
So not possible? I have to give all layers a attribute ID and disable it in css like that?
Any news if it is possible?
Thanks Yigit,
That worked great.
BR
JeffHi Yigit,
But that disables the complete slider, right? I want just the layers (text) to be hidden, not the slide imageBR
JeffHi Elliott,
If you check the page on a smartphone, you’ll see the extra table. Looks and works great, except that the first and second column ends with an empty cell. How to remove those?
BR
JeffHi Elliott,
Wow nice! It’s time you get a big statue :-)
I might have some questions regarding cell padding/ cell height, but let me try it myself first.Thanks a lot for the awesome support
BR
JeffHi Elliott,
Thanks for the swift response. 1 and 2 work great, thanks a lot for that.
The code for issue 3 doesn’t work well. I’d rather use a custom css to display this current table on bigger screens, and a new table (styled more like the Enfold default pricing table) on the smaller screens
Current table is placed in a color section, so can I use the Section ID to display it only on bigger screens (and the extra, new table to show only on smaller screens)?
Thanks
BR
JeffThanks Thomas,
You are right, it’s a server/hosting issue, not an Enfold or plugin issue. But this company is based in Taiwan and wanted to arrange hosting themselves. So I advised them to talk to the hosting to see if there are improvemnets possible.
Groet,
JeffThe hosting told me the website contains too many css and js files.
They advised to change add this:
// Enable the WordPress Object Cache:
define(ENABLE_CACHE, true);
to the “wp-config.php” file.They also suggest to delete “http://irwincycling.com/phpinfo.php” file
I can’t see what the object cache has to do with the css/js files.
Is it good to delete the phpinfo.php?BR
JeffHi Dake,
I did disable all plugins….. slightly faster, but still it took about 6 seconts to load. If I enable compression I can save 0.5Mb….
but I haven’t been able to do so.
Also with a cache plugin the loading time was not reduced.Hi Dake,
I cleared my cache, visited and tested the site again.
Load time from Amsterdam is 11.5 sec….. that’s not very fast :-)What would you recomment to improve the loading speed?
regards,
JeffHi Elliott,
Thanks for the quicl response.I see now that the issue oly accurs when you’ve visited the site before. Cleared the cache and the problem is gone.. Mmm ok.
should be ok, thanksThanks Yigit! That works wonderful, thanks for the great support
Anyone who knows the css to decrease 1/4 column padding?
This reply has been marked as private.ah I thought I solved it, but on Ipad the column width needs to be a bit wider
- This reply was modified 9 years, 10 months ago by jeffreyvanoostrom.
Hi Elliot,
Thanks for the quick reply. I don’t want the icons/arrows to be 4 columns on phone screens.
I want the 1/4 column padding to be reduced. If you check the page on an Ipad in landscape position, you’ll see that the arrows are not all aligned properly, on icon 5, 7 and 9.Hope it’s clear :-)
Hi Ismael,
Thanks, that worked great. I purchased more than 15 themes from themeforest, and I can honestly say that Enfold is the best theme and has the best support!
BR
JeffHey Yigit,
Like this:
.av-main-nav > li:first-child .avia-menu-text{ border-left: 0; }
.av-main-nav > li:last-child .avia-menu-text{ border-left: 6; }
.avia-menu-fx{ display: none; }
.av-main-nav > li > a > .avia-menu-text{ border-left: 1px solid #888888; padding: 0 6px;}
}.avia-menu-text { padding-left: 0px !important; }
#top #header .av-main-nav > li > a { padding-left: 0px !important; }.av-main-nav > li > a > .avia-menu-text { padding: 0 0 0 20px; }
Looks like it has some “overlapping” coding. Also not perfect on the site.
BR
jeffHi Elliot,
That doesn’t have the effect I want (the menu spacing increases) The spacing between the menu is fine, only the divider should be centered in between two menu words.
BR
JeffAwesome, that worked.
Thanks Yigit!Oh I cheered too early. The padding is too small now. please check.
Thanks
BR
JeffHi Yigit,
Worked great ( I added: text-align: right;)
Thanks for the fast and super good supportRegards,
JeffHi Guys,
I’ve set the menu at “mobile menu” for tablets as well, so now it shows the mobile menu on IPAD in portrait position, which is fine.
So it’s solved.Thanks for the support and the awesome theme
BR
JeffThis reply has been marked as private. -
AuthorPosts