Jump to content

Stuck on a Markdown styling

Recommended Posts

Site URL: https://malcolmgrahamclt.com/issues-2021

I'm working on this page (it's still a little buggy) but I'm stuck trying to figure out how to get a line break between my "see more/see less" and the headline. Below is the current CSS:

//+ and - before markdown//
.markdown-block .ui-closed:after {
  font-family:copperplate;
  color: #f5a800;
  font-size: 20px;
  content:" \A see more ";
}

.markdown-block .ui-open:after {
  font-family:copperplate;
  color: #f5a800;
    font-size: 20px;
  content:" \A see less ";
}

 

Any ideas? I thought the "\A" would be the ticket but unfortunately no...

Link to comment
  • Replies 3
  • Views 627
  • Created
  • Last Reply
On 12/17/2020 at 6:30 AM, tuanphan said:

Use display: block;


.markdown-block .ui-open:after {
    font-family: copperplate;
    color: #f5a800;
    font-size: 20px;
    content: " \A see less ";
    display: block;
}

 

So, I was just missing "display:block;"???

I WAS SOOOO CLOSE!!!! 😭

 

Thank you so much @tuanphan

Link to comment
On 12/19/2020 at 1:31 AM, ratkaj said:

So, I was just missing "display:block;"???

I WAS SOOOO CLOSE!!!! 😭

 

Thank you so much @tuanphan

I see you haven't changed SEO Title on this page: https://malcolmgrahamclt.com/issues-2021

sơ browser tab name still shows "General 2"

Similar on About page "About 1"

https://malcolmgrahamclt.com/about

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.