Can’t eliminate top page margin …………….

This topic has 14 replies, 4 voices, and was last updated 10 months, 1 weeks ago ago by Rose Tyler

  • Avatar: ziga32
    ziga32
    Participant
    June 20, 2023 at 18:07

    I’m using this code so I can disable that 25px margin on top of page, but it only seem to workin backend.
    https://i.imgur.com/kGe9iZ0.png
    https://sports4fun.si/kontakt/

    13 Answers
    Avatar: HUSSTLE
    HUSSTLE
    Participant
    June 20, 2023 at 20:27

    what about just using this:

    .page-heading {
    margin-bottom: 0px;
    }

    Avatar: ziga32
    ziga32
    Participant
    June 20, 2023 at 20:54

    this did not work, that’s why I tried

    .page-heading {
    margin-bottom: 0px !important;
    }

    and then

    body .page-heading {
    margin-bottom: 0px !important;
    }

    works well on all my other websites.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    June 21, 2023 at 05:31

    Hello, ziga32,

    In order to resolve your issue, please copy and paste the following CSS code into XStore >> Theme Options >> Theme Custom CSS >> Global CSS and then clear your browser cache.

    .page-id-38 .page-heading {
        margin-bottom: 0px !important;
    }

    The result should look like this: https://imgur.com/RqZJXms

    If you have any further questions or concerns, please do not hesitate to contact us. Our support team is always available to help.

    Best regards,
    8Theme’s Team

    Avatar: ziga32
    ziga32
    Participant
    June 21, 2023 at 10:47

    weirdly doesn’t work also

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 21, 2023 at 12:35

    Hello, ziga32,

    Thank you for your response.

    Please provide temporary wp-admin access, so we can take a closer look at your settings.

    Best regards,
    8Theme’s Team

    Avatar: ziga32
    ziga32
    Participant
    June 21, 2023 at 12:40

    sute, thank you

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 21, 2023 at 12:55

    Hello, ziga32,

    Thank you for your response.

    You are using CDN, it seems the code doesn’t work because of cache. Please clear the CDN cache.

    Best regards,
    8Theme’s Team

    Avatar: ziga32
    ziga32
    Participant
    June 22, 2023 at 08:22

    I’m not using any cdn…?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 22, 2023 at 08:26

    Hello, ziga32,

    Ok. Please check now – https://prnt.sc/UjBFxKeNXj8A , we added code – https://prnt.sc/jetUN6HNFidI

    Best regards,
    8Theme’s Team

    Avatar: ziga32
    ziga32
    Participant
    June 22, 2023 at 08:28

    Works great, thank you!
    why is it working here and not on the page css?

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    June 22, 2023 at 08:30

    Hello, ziga32,

    We have conducted a review of your site and have not identified any issues. The code provided is functioning correctly. Please refer to the following link for reference. https://www.veed.io/view/cb870716-ccbd-4a38-8bee-900b91c05476?sharingWidget=true&panel=share

    Best regards,
    8Theme’s Team

    Avatar: ziga32
    ziga32
    Participant
    June 22, 2023 at 08:32

    Yes, like I said, it it working also for me. Great job!
    My question is, why was it not working before, when the code was in page custom css?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 22, 2023 at 09:12

    Hello, ziga32,

    “My question is, why was it not working before, when the code was in page custom css?” – as we can see, the code works fine from the page custom CSS area – https://prnt.sc/s0iihMoNTJUI

    Best regards,
    8Theme’s Team

  • Viewing 14 results - 1 through 14 (of 14 total)

The issue related to '‘Can’t eliminate top page margin …………….’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.