[Support request] Move Text Over Image

Home Forums Support [Support request] Move Text Over Image

Home Forums Support Move Text Over Image

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #562825
    Andrew

    I created a Page Header and added text over an image. I centered it, however if I want to move the text up or down, left or right a little it can not be done without extending the image as well. I tried using CSS to manipulate the margins and padding but again it just stretched the image. I even tried to override your CSS but that did not work either. Do you have any suggestions?

    #562859
    Leo
    Staff
    Customer Support

    Hi there,

    Really hard to tell without seeing the site.

    But try doing this for the page header content:

    <div class="header-content">
        Content here
    </div>

    Then use this CSS to move it:

    .header-content {
        padding-top: 50px;
    }

    Is this doesn’t help. Any chance you can duplicate it on a live server?

    Let me know 🙂

    #563444
    Andrew

    Hi Leo:

    I thought my reply went through but I am not seeing it. Anyway, I did try what you suggested but no luck. However, I do not think I added the div in the correct place. Can you tell me the file and approximate location I would need to add the div? Just a general idea would be helpful – Thanks

    #563449
    Leo
    Staff
    Customer Support

    It can go in the content box like normal HTML: https://docs.generatepress.com/article/page-header-content/

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