Home Forums Arnold WordPress Theme How to center H1 in post page ? – Arnold Theme

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #22157
    RobinLas
    Participant
    Purchased
    Supported

    Hi team,
    I’d like to center my Title and text in my post pages but I don’t find how to do it.
    I tried to add a CSS like this :

    h1 {
    text-align: center;
    }

    But it’s not real in the center of the page.

    How can I do it please ?

    Thank you 🙂
    Robin.

    #22168
    SeaTheme
    Keymaster
    Purchased

    Hi,

    I don’t know what’s page template you mentioned.
    Could you please leave the post page URL? I will check if it is possible.
    Thanks! 🙂

    Regards!

    SeaTheme – SeaTheme.netTwitterFacebook

    #22290
    RobinLas
    Participant
    Purchased
    Supported

    Hi @seatheme !
    This kind of page : http://robinetnaim.com/index.php/2020/08/01/cdiscount20ans/
    Thanks

    #22293
    SeaTheme
    Keymaster
    Purchased

    Please paste the custom CSS code to “Appearance > Customize: Additional CSS”

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

    Best

    #22294
    RobinLas
    Participant
    Purchased
    Supported

    Thanks, it’s works.
    But, it’s only the title. Can we do the same for the text inside the project ?

    Thanks so much!

    #22299
    SeaTheme
    Keymaster
    Purchased

    Please add the custom CSS:

    .gallery-post-des {
    text-align: center;
    }
    @media (min-width: 768px) {
    .gallery-post-des .gallery-post-des-inn {
        display: block;
        width: 100%;
     }
    }
    #22301
    RobinLas
    Participant
    Purchased
    Supported

    For both (title and text) is that CSS ?
    Because the text in the post in still not centered :/
    Thank you so much

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

    #22305
    SeaTheme
    Keymaster
    Purchased

    Sorry, missed some CSS.
    Please add the custom CSS also:

    .list-layout-text {
        text-align: center;
    }

    Please don’t remove other CSS.

    Best

    #22307
    RobinLas
    Participant
    Purchased
    Supported

    Thanks ! It works 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!