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

Mardown - change colour of hyperlinks

Question

Hi I'm working on a website and have include a collapse / reveal text using markdown.  Custom CSS code is:

<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 h2').css('cursor','pointer');
   $(".markdown-block .sqs-block-content h2").nextUntil("h2").slideToggle();
   $(".markdown-block .sqs-block-content h2").click(function() {$(this).nextUntil("h2").slideToggle();});
   });
   </script>

 

And this is the code in markdown:

+ Visible title
--------------------------

Hidden text

 

When i have a hyperlink in the hidden text, it automatically changes to the colour white. Do you know how I change to black?

 

Thanks!

 

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

Thanks so much Tuanphan!!

One last question if anyone knows - for links in markdown I can't seem to save so they open in a new window? Has anyone else had this issue and know of a remedy?

Share this post


Link to post
  • 0
15 minutes ago, Chloe_ExecSC said:

Thanks so much Tuanphan!!

One last question if anyone knows - for links in markdown I can't seem to save so they open in a new window? Has anyone else had this issue and know of a remedy?

Try this guide.


You can send your question to my email to get faster answer.

How to Setup Password & Share URL - Free Templates - Free Code - CSS ID List

Share this post


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...