Home Forums Arnold WordPress Theme How to center align property title & content

This topic contains 5 replies, has 2 voices, and was last updated by  BWSM 2 months, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13782

    thai
    Participant

    Hi I would like to know how to adjust the alignment for the property title and content.

    Right now it looks like this:
    centered

    How may I get it centered to the page like this:
    centered

    Thanks!

    -T

    • This topic was modified 2 months, 3 weeks ago by  thai.
    • This topic was modified 2 months, 3 weeks ago by  thai.
    • This topic was modified 2 months, 3 weeks ago by  thai.
    • This topic was modified 2 months, 3 weeks ago by  thai.
    • This topic was modified 2 months, 3 weeks ago by  thai.
    • This topic was modified 2 months, 3 weeks ago by  thai.
    • This topic was modified 2 months, 3 weeks ago by  thai.
    • This topic was modified 2 months, 3 weeks ago by  thai.
    #13791

    BWSM
    Keymaster

    Hi,

    please go to Appearance > Customize, paste the custom css code to “Additional CSS” box:

    .single-format-gallery .gallery-info-property-tit, .single-format-gallery .gallery-info-property-con { 
        text-align: center;
    }

    If doesn’t work, please leave your page url of screenshot, thanks!

    Regards!

    #13806

    thai
    Participant
    This reply has been marked as private.
    #13808

    BWSM
    Keymaster

    Plz update the Additional CSS as:

    @media (min-width: 768px) {
     .gallery-post-des .gallery-post-des-inn,.gallery-post-des .title-wrap {
        display: block;
        width: 100%; 
        text-align: center;
     }
    }
    #13811

    thai
    Participant

    Thank you that works! Is there also a way to keep the alignment on mobile?

    Best,

    Thai

    #13816

    BWSM
    Keymaster

    Hi, welcome.

    Add the css:

    @media (max-width: 767px){
    .responsive-ux .gallery-post-des { 
        text-align: center;
     }
    }

    Best

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.