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

Change the size of text in image blocks on mobile

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

Share this post


Link to post

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.

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