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

Need CSS code to center images in mobile view


mikevatech

Question

Site URL: https://www.blueridgeresearch.com/micah-downing

When viewed on mobile device, the images on my bio pages are not centered. The left margin (white space) is slightly larger on the left. I have tried everything to make them appear centered (or even left would look better) in the mobile view. Is there some simple CSS code that will center (or move to the left) all images in mobile view? Or, if that isn't possible, code that will center images of specific pages? Here is the URL of one of the bio pages to view - https://www.blueridgeresearch.com/micah-downing.

Here is a screen shot of that page in mobile view.

image.thumb.png.38830295be352ae0bef6c5994bd81e8e.png

Link to comment
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

2 answers to this question

Recommended Posts

  • 0

Hello,

Weird, I don't think I've seen this issue be caused by it's own class but perhaps there is a setting that is mark by default to "float: right" for items.

The following code may solve your problem.

.sqs-block.float-right {
margin: 0;
}

Hope this helps!

-Dan

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