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

Change the size of text in image blocks on mobile


olipowell

Question

I'm trying to add some custom code to alter the text of my site on mobile as there's no functionality to do this in the style editor, other than dynamic scaling which is unpredictable and inconsistent across blocks.

I added the following to adjust my headings, which was straight forward but I'm struggling to target text within image blocks


@media only screen and (max-width: 640px) { h2 {font-size:2em;} }

Thanks

Edited by olipowell
Initial Revision
Link to comment
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

@olipowell


@media screen and (max-width:640px) {
.image-title-wrapper * {
   font-size: 10px !important;
}
}

5 minutes to check & found the code.

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

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


×
×
  • Create New...