Tagged: Advanced Styling
-
AuthorPosts
-
April 24, 2020 at 2:28 pm #1206811
Hi, since 2 days now the advanced styling and Quick CSS are not working… Deleted the cache , reload the theme, clear browser history etc… Can’t find the solution… Weirdly it’s not working on the site I’m working on but it’s working with my personal website… Please help my dead line is coming!
April 26, 2020 at 12:29 am #1207132Hey lecoanetdesign,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( to be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
NikkoApril 28, 2020 at 2:17 pm #1207790Ok,
It’s in place. Let me know.
Best,
Charles LecoanetApril 29, 2020 at 11:50 am #1208114Hi Charles Lecoanet,
The plugin should generate a link where we can use to have access.
Please post it in private content.Best regards,
NikkoApril 30, 2020 at 12:13 am #1208394Here is the link :
May 1, 2020 at 9:38 am #1208761Hi,
Thanks for that. You haven’t closed one of the blocks of code properly:
#socket .container { padding-left: 8px; padding-right: 8px;
Please make sure to close that properly and it should work as expected after that.
Best regards,
RikardMay 27, 2020 at 12:50 am #1216739Thanks, Sorry for the late answer. I got it. You can close this thread.
May 27, 2020 at 12:58 am #1216744I need to reopen one though. I always have hard time to find how…
I found a way with one of your thread to change the logo (via php) according to the language but I can’t find the way to make also the white transparent logo change as well. I don’t know if I’m clear enough… Could you help me?May 27, 2020 at 7:16 am #1216817Hi lecoanetdesign,
Can you point us or give us the link of the thread you mentioned?
Best regards,
NikkoMay 28, 2020 at 4:33 pm #1217414June 1, 2020 at 8:10 am #1218349Hi lecoanetdesign,
If I’m not mistaken, you want to modify the logo on transparent headers for different languages?
There are 2 requirements needed:
1. Child Theme (skip if you already have this, if not you can download it and find instructions in: https://kriesi.at/documentation/enfold/child-theme/ )
2. Enfold 4.7.5 (the avf_transparency_logo_data hook was recently added)On your main language set it in Enfold > Header > Transparency Options (tab) > Transparency Logo.
Then, add this in functions.php (if not yet added):
function show_current_language() { global $curlang; $curlang = $this->curlang->slug; }
Then add this code in functions.php (just replace the logo url and you can skip the transparent logo for the main language):
add_filter( 'avf_transparency_logo_data', 'enfold_transparency_logo_data' ); function enfold_transparency_logo_data($header_filtered) { if($curlang == "en") { $header_filtered['header_replacement_logo'] = "http://kriesi.at/wp-content/themes/kriesi/images/transparent_logo1.png"; } elseif($curlang == "af") { $header_filtered['header_replacement_logo'] = "http://kriesi.at/wp-content/themes/kriesi/images/transparent_logo2.png"; } return $header_filtered; }
Best regards,
NikkoJune 1, 2020 at 5:32 pm #1218475These codes were not working but I use ” case ” instead and it’s working perfectly now. So this is what’s working form me know to swith normal logo AND transparent logo
add_filter(‘avf_logo’,’av_change_logo’);
function av_change_logo($logo)
{
$lang = pll_current_language(‘locale’);switch ($lang) {
case ‘fr_FR’:
$logo = “http://fill-print.com/Logos/Logo_color_FR_01.png”;
break;
case ‘en_GB’:
$logo = “http://fill-print.com/Logos/Logo_color_EN_03.png”;
break;
}return $logo;
}
add_filter( ‘avf_transparency_logo_data’, ‘enfold_transparency_logo_data’ );function enfold_transparency_logo_data($header_filtered)
{
$lang = pll_current_language(‘locale’);switch ($lang) {
case ‘fr_FR’:
$header_filtered[‘header_replacement_logo’] = “http://fill-print.com/Logos/Logo_blanc_FR_02.png”;
break;
case ‘en_GB’:
$header_filtered[‘header_replacement_logo’] = “http://fill-print.com/Logos/Logo_white_EN_03.png”;
}return $header_filtered;
}Thanks a lot, sir. You can close this thread.
Best
CharlesJune 8, 2020 at 9:35 am #1220404Hi Charles,
We’re glad that we could help :)
As for your other issue, please post it in another thread, so topics aren’t mixed.
See you there :)Best regards,
Nikko -
AuthorPosts
- The topic ‘Advanced styling and Quick CSS not working’ is closed to new replies.