Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #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!

    #1207132

    Hey lecoanetdesign,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. 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 ).
    5. Click ” Submit “.
    6. 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,
    Nikko

    #1207790

    Ok,
    It’s in place. Let me know.
    Best,
    Charles Lecoanet

    #1208114

    Hi Charles Lecoanet,

    The plugin should generate a link where we can use to have access.
    Please post it in private content.

    Best regards,
    Nikko

    #1208394

    Here is the link :

    #1208761

    Hi,

    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,
    Rikard

    #1216739

    Thanks, Sorry for the late answer. I got it. You can close this thread.

    #1216744

    I 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?

    #1216817

    Hi lecoanetdesign,

    Can you point us or give us the link of the thread you mentioned?

    Best regards,
    Nikko

    #1217414
    #1218349

    Hi 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,
    Nikko

    #1218475

    These 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
    Charles

    #1220404

    Hi 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

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Advanced styling and Quick CSS not working’ is closed to new replies.