[Support request] Padding of element div seems wrong/not consistent

Home Forums Support [Support request] Padding of element div seems wrong/not consistent

Home Forums Support Padding of element div seems wrong/not consistent

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

    Hi there,

    The way I want the contents of the element to look is contained within this link.

    However, I notice other pages do not achieve this, with either the book title or the white button having extra padding to the right. Why is this the case and how can it be corrected so they all look like this for padding etc.?

    Examples of wrong padding include:
    this (book title too far to right)
    this (white button too far to right)
    this (white button too far to right)

    Kind regards,

    Will

    #1445933
    Leo
    Staff
    Customer Support

    Hi there,

    Are you saying that this title should be to the left?
    https://www.screencast.com/t/rQicWcwU

    That’s because you have this CSS added:

    h2 {
        text-align: center;
    }

    It doesn’t look like the GP is at fault here so I’d recommend going through your CSS to make sure they aren’t interfering.

    #1447315
    William

    You’re bang on with your help, so thank you so much for that.

    Is there a way to disclude such CSS for an element?

    #1447326
    Leo
    Staff
    Customer Support

    If you don’t want the CSS to apply to a header element, you can try to be more specific like this:

    .entry-content h2 {
        text-align: center;
    }
    #1448333
    William

    That’s perfect thank you!

    #1448909
    Leo
    Staff
    Customer Support

    No problem 🙂

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