Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Color Background in Section Not Extending Full Length Until Reload


jenniferdonahue

Question

Hi,

Site: candyculver.comPage: https://www.candyculver.com/clients-case-studies-1Bottom of page section: "The rest of the story"

I have a dark blue background on this section on which I have added an expanding Q&A using a markdown block with the code below. The blue background has a gap of white at the bottom the first time you visit the page. After that, it's fine. Can anyone help me with how to make the white gap not happen on initial visit?

Edited by jenniferdonahue
Initial Revision
Link to post
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

Oh my gosh thank you! :)


<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

<script>      $(document).ready(function(){

   $('.markdown-block .sqs-block-content h3').css('cursor','pointer');

   $(".markdown-block .sqs-block-content h3").nextUntil("h3").slideToggle();

   $(".markdown-block .sqs-block-content h3").click(function() {$(this).nextUntil("h3").slideToggle();});

   });    </script>


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...