Jump to content

How to move a banner on mobile only

Recommended Posts

Site URL: https://www.draliaelias.com

I'm trying to move my banner down several spaces on the mobile site only, since the options to format the banner are very limited in site styles with the template I'm using, Bedford. I was able to use custom CSS to make the banner larger (using some other forums posts) since it is tiny by default, but I now want to move the mobile version of the banner either down a few lines, or up many lines.

The custom CSS code I used to increase the banner font size is:

}
 .desc-wrapper p:nth-of-type(3) {
   font-size: 34px;
   ;

}
.desc-wrapper p:nth-of-type(4) {
   font-size: 30px;
   ;

where I just set the index of "p:nth-of-type" to higher integers until it affected each line of the banner. The first line of the banner ended up being "3" and the next line was "4". However, this custom CSS code only applied to the desktop version of the site.

Is there a way to use these elements I've already accessed and just move them either up or down on the page? And how do I apply it to only the mobile site?

Link to comment
  • Replies 1
  • Views 269
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

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


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