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

Horizontally Center Align within blocks & sections


priyap2496

Question

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

Hi everyone. I am having some trouble trying to horizontally center align pictures and texts within my sections & blocks. 

There are a few things I am looking to fix, and am wondering if they can be solved by just some code. Throughout my work pages in my portfolio I have different sections highlighting certain things, but they won't center align horizontally. I tried adding a spacer but it isn't very responsive for smaller screens, since they would just make the text and image off center. 

I am having the same issue with larger sections too, where I have two different sets of images and texts that I want aligned. I am not sure if I can do the same thing with this since there are so many things in one section, but I don't want to have to put them into 2 different sections since they are about the same thing. 

 

EX.JPG

ex 2.JPG

ex 3.JPG

Link to comment
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

  • 0

Hi,

You mean align center text/images? For example this section on Mint page

Add to Design > Custom CSS

@media screen and (min-width:768px) {
div#page-section-60da76c86b00c0340f42b126>.row {
    display: flex;
    align-items: center;
}
}

image.thumb.png.507535b7db154732b1d117179309f0e3.png

(ps I saw your email, you can reply here or email)

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