WordPress.org

Ready to get started?Download WordPress

Forums

Storefront Paper
[resolved] Theme margin-top (4 posts)

  1. blackessej
    Member
    Posted 8 months ago #

    I'm customizing this theme, and I'd like to remove the margin-top: 28px!important attribute from the html element, but I can't seem to find it to remove it. My inline editor says that it's being called in the index file...can anyone help?

  2. VegasKev88
    Member
    Posted 8 months ago #

    without a link to your site, I'm just guessing, but this should work. Please let me know whether or not it works.

    margin-top: 0px !important;

    Place that within the div class or id in question. If you're not sure what div it belongs to, please include a link in your reply so I can be of more help to you.

  3. blackessej
    Member
    Posted 8 months ago #

    Hi VegasKev88, and thanks for the help. Sorry - I was way, way short on details. I was hoping to find someone who knew the theme well. The problem was some styles and tags called via <?php wp_head(); ?>, and slapping an !important tag on the end of some inline attributes wasn't helping. In the interest of preserving the theme through future updates, I found this plug-in that allowed me to remove print styles, which was the culprit. Problem solved! Thanks again!

  4. VegasKev88
    Member
    Posted 8 months ago #

    good deal, don't forget to mark this topic as resolved. I'm glad you found a solution to your issue. And thank you for including a link to the plugin that helped you out, for future visitors of this post with the same issue.

Reply

You must log in to post.

About this Theme

About this Topic