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

How to make markdown text specific to mobile sites

Question

Posted (edited)

How do I make my colours to invert when the mobile site is loaded.

On desktop, it loads with white text on a black background, but I want black text with a white background for mobile.

Also, I would like to get ride of the line break "BOOK your ride, and more" on the mobile site.

 

Here is my current markdown code:

<div style="background-color:black; text-align:left; vertical-align: middle; padding:20px 0;">
<h1 style="background-color:black;">WE KNOW YOU'RE BUSY.</h1>
</div>

<div style="background-color:black; text-align:left; vertical-align: middle; padding:10px 0; margin-top:10px">
<h4>Access your account, BOOK your ride, and more,<br>while you’re on the go with our <b>mobile app!</b></h4>
</div>

<div class="black">

 

Screen Shot 2020-07-28 at 3.48.21 PM.png

Screen Shot 2020-07-28 at 3.48.04 PM.png

Edited by kiriako
added to my question

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

Can you share link to page where you inserted Markdown? We can check easier.


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

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