Tagged: color section
-
AuthorPosts
-
May 11, 2016 at 9:12 am #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.- This topic was modified 8 years, 6 months ago by themeforesttony.
May 12, 2016 at 5:27 am #631118Hi 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,
RikardMay 12, 2016 at 7:26 am #631172See below
May 13, 2016 at 4:49 am #631771Hi,
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,
RikardMay 13, 2016 at 7:18 am #631860Removing 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?
May 17, 2016 at 2:52 am #633403Hi,
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,
IsmaelMay 17, 2016 at 3:09 am #633408Thanks 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.May 17, 2016 at 6:16 am #633491 -
AuthorPosts
- The topic ‘Color Section Shifted below Footer’ is closed to new replies.