WordPress.org

Support

Support » Themes and Templates » Storefront Paper » [Resolved] Theme margin-top

[Resolved] Theme margin-top

  • 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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!

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Theme margin-top’ is closed to new replies.
Skip to toolbar