Forum Replies Created

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • When will the fix/patch be released? This is an issue on 3 of my websites currently!

    in reply to: Styling Tab Section – picture size #833963

    Thank you both!

    in reply to: Styling Tab Section – picture size #832512

    Hello,

    Above you say: “I have checked the link and it seems you have already done it. Let us know if you need more assistance. :)”

    Could please post the code to show how this is done?

    in reply to: Enfold Advanced Layout Editor Not Loading / Working #832368

    Hi Victoria,

    Thank you for your response. That definitely helped to figure it out.
    This was due to a hosting environment change, which produced the error: “Failed to load resource: the server responded with a status of 404” in the Avia Layout Builder for the admin-ajax.php file.
    The fix was to disable the “OWASP ModSecurity Core Rule Set V3.0” in my WHM hosting account.
    It would be great if Kriesi at some point created a guide on which specific rule-sets are needed to be added to ModSecurity for OWASP ModSecurity to work without disabling it.
    For now this works.

    Thanks again!

    Hi Mike,

    Thank you for your response.
    I figured it out.
    This was due to a hosting environment change, which produced the error: “Failed to load resource: the server responded with a status of 404” in the Avia Layout Builder for the admin-ajax.php file.
    The fix was to disable the “OWASP ModSecurity Core Rule Set V3.0” in my WHM hosting account.
    It would be great if Kriesi at some point created a guide on which specific rule-sets are needed to be added to ModSecurity for OWASP ModSecurity to work without disabling it.
    For now this works.

    Thanks again!

    I appreciate the suggestion, John T., however if you read the post above, that is the first thing I had tried and it did not help.

    in reply to: Enfold Advanced Layout Editor Not Loading / Working #830766

    Thanks Nikko. I’ve updated the URLs with HTTPS, however this did not solve the issue of the advanced layout editor not loading.

    in reply to: Different logos for different pages/categories #760834

    All set!

    Thank you all for your help.

    For reference, the code that worked is:

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_page(483) || has_category('music') )  {
        $logo = "/wp-content/uploads/2016/12/music-horiz.png";
        }
        return $logo;
    }
    
    add_filter('avf_logo_link','av_change_logo_link');
    function av_change_logo_link($link)
    {
        if(is_page(483) || has_category('music') ){
        $link = "/music/";
        }
        return $link;
    }
    in reply to: How To Remove Social Icons from Only One Page? #759230

    Hi Rikard,

    Thanks for the reply.
    Info below.

    The homepage and the rest of the site has the social media top header bar

    I need the social media top header to be hidden on this specific page – ‘Music’ and on posts in the category ‘music’

    So far I have something similar already setup to change the header logo using this code:

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_page(483) || has_category('music') )  {
        $logo = "/wp-content/uploads/2016/12/music-horiz.png";
        }
        return $logo;
    }
    
    add_filter('avf_logo_link','av_change_logo_link');
    function av_change_logo_link($link)
    {
        if(is_page(483) || has_category('music') ){
        $link = "/music/";
        }
        return $link;
    }
    in reply to: Different logos for different pages/categories #759226

    Thank you so much “has” was the answer!

    in reply to: Different logos for different pages/categories #758046

    Thank you Guenni007

    I did try it, but the code only replaces the logo on the page 483, however it does not replace the logo on the category

    in reply to: Different logos for different pages/categories #758011

    I have a similar need to combine these rules.

    So is the following a proper syntax to have the logo show up on page 483 and on all posts under the category music, it doesn’t seem to work for me?

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_page(483) || is_category('music') )  {
        $logo = "/wp-content/uploads/2015/12/music-horiz.png";
        }
        return $logo;
    }
    
    add_filter('avf_logo_link','av_change_logo_link');
    function av_change_logo_link($link)
    {
        if(is_page(483) || is_category('music') ){
        $link = "/music/";
        }
        return $link;
    }

    Perfect! Thank you!

    in reply to: Buttons not working on mobile. #497311

    The scroll effect works for me right now for this project. However this is definitely something to add to the bug list for Enfold, since the parallax effect seems to be broken on mobile devices. I have also discovered that the parallax effect creates a single background in Firefox on Android. So cross-browser and cross-platform compatibility could use some troubleshooting and debugging.

    Thank you for your help!

    in reply to: Buttons not working on mobile. #496784

    Tried updating to latest version that did not help. However switching to Scroll instead of Parallax fixed the issue. Thank you!

    That helped a lot. Thanks!

    For the curious the full solution which worked for this instance is:
    Edit loop-index.php and add if ( is_single() ) { avia_social_share_links(); } between the span and the header close tag:

                    echo '</span>';
                                        if ( is_single() ) { avia_social_share_links(); }
                echo '</header>';
    

    Also change to the following code in loop-index.php

                        echo '</span>';
                        echo "<span class='text-sep text-sep-date'>on</span>";
                        echo "<time class='date-container minor-meta updated' $markup>".get_the_time(get_option('date_format'))."</time>";
                    echo '</span>';
    

    In style.css add

    /*
    INDIVIDUAL BLOG POST TEMPLATE STYLING
    ================================================== */
    
    .entry-content p {
    	font-family: Georgia,Cambria,"Times New Roman",Times,serif;
    	font-size: 1.125rem;
    	line-height: 1.6;
    	padding: auto 15px !important;	
    }
    
    .entry-content p a {
    	font-family: Georgia,Cambria,"Times New Roman",Times,serif;
    	}
    
    div.entry-content {
    	padding: 15px 15px 5px 15px;
    }
    
    .post-meta-infos {
    	top: 0;
    }
    
    .post-meta-infos, .vcard.author span.fn a {
    	font-size: 1em;
    }
    
    .post-meta-infos .text-sep, .post-meta-infos .date-container {
    	color: #7e7e7e;
    }
    
    header.entry-content-header {
    	padding: 15px 15px 5px 15px;
    }
    
    .single .entry-content-header .av-share-box {
    	margin: .5em 0 2.5em;
    }
    
    .av-share-box ul li a {
      font-size: 2.3em;
    }
    

    Thank you Elliott.

    I have edited loop-index.php as per your suggestion. However it’s not a viable solution.
    The date and time now appear as July 8, 2015/by Author NameJuly 8, 2015/
    And the social buttons are above the featured image and are also appearing on the blog page.

Viewing 17 posts - 1 through 17 (of 17 total)