[Support request] How do I add padding/margin to headings in my page hero header?

Home Forums Support [Support request] How do I add padding/margin to headings in my page hero header?

Home Forums Support How do I add padding/margin to headings in my page hero header?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #701016
    Sean

    I want to add left padding or margin to my headings “Red Hawks media” and “Conversion based web design” without affecting the position of my hero image that I have added as HTML.

    How do I achieve this?

    Thanks

    #701481
    Leo
    Staff
    Customer Support

    Hi there,

    You can do with some very basic HTML and CSS like this:
    <h1 class="page-hero-title">Red Hawks Media</h1>

    Then CSS:

    h1.page-hero-title {
        padding-left: 20px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

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