Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #630529

    I have a strange behavior I cannot figure out.
    On a homepage for a site I am developing for a client, I have a color section set just below a full width slider and then above some post sliders.
    For some reason, the color section is now appearing below the footer section.
    I have checked to see if it is anything in the Quick CSS modifications, the plugins or the theme, but none of them seem to be causing this.
    Can you give me an idea of how to correct this?
    Thanks in advance.

    #631118

    Hi themeforesttony,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #631172

    See below

    #631771

    Hi,

    Hm, that’s strange, never seen that before. Could you try to remove all your customisations and deactivate all plugins to see if that is where the problem is coming from please?

    Best regards,
    Rikard

    #631860

    Removing all the Quick CSS and deactivating plugins does not affect it.
    I did remove the functions.php child theme though and it corrected it.
    The problem appears to be in this block of code which was suggested to me by Ismael in order to get the post titles to appears on the thumbnails on the homepage sliders.
    // slide link
    add_action(‘wp_footer’, ‘ava_new_custom_script’);
    function ava_new_custom_script(){
    ?>
    <script type=”text/javascript”>
    (function($) {
    function b() {
    $(‘.slide-entry’).each(function() {
    var content = $(this).find(‘.slide-content’).detach();
    $(this).find(‘.slide-image’).append(content);
    });
    }

    b();

    $(‘#av_section_2’).appendTo(‘#main’);
    })(jQuery);

    </script>
    <?php
    }

    Can you tell me what the conflict might be?

    #633403

    Hi,

    You have this in the functions.php file:

    $('#av_section_2').appendTo('#main');
    

    What is that for? Please remove that or apply a unique Section ID to the color section that is supposed to get that script.

    Best regards,
    Ismael

    #633408

    Thanks Ismael.
    That entire code block was given to me by you in this thread: https://kriesi.at/support/topic/move-post-slider-text-content-into-thumbnail/

    Removing it seems to do the trick and the issue that the other thread was addressing does not seem effected.
    So both seem to be solved.
    If you want to share what the thoguth was behind that bit of code, I am always happy to learn.
    Thanks again.

    #633491

    Hey!

    Yes, I forgot about that one. I remembered it once I read the other thread.

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Color Section Shifted below Footer’ is closed to new replies.