• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Altitude Pro: how to get rid of black line under headings

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Altitude Pro: how to get rid of black line under headings

This topic is: resolved

Tagged: Altitude Pro, black line, headings

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 2 months ago by wrenadv.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 14, 2015 at 4:47 am #171069
    wrenadv
    Member

    Hi,

    Does anyone know how to get rid of the black line that appears under headings and at the end of posts in Altitude Pro?

    I don't mind the little line on pages but it takes up too much space when posts are listed on my blog, page.

    Any help appreciated.

    James

    November 14, 2015 at 11:48 am #171092
    Mike
    Member

    The changes you want to make are in the style.css file of your child theme. Make sure to create a backup of this file before editing and then do the following:

    BLACK LINE UNDER HEADINGS

    Open style.css of your child theme and go to around Line 1497 until you find the setting for .entry-header::after

    .entry-header::after {
    	border-bottom: 1px solid #000; /* the line itself - you can either remove this line entirely or comment it out */
    	content: "";
    	display: block;
    	margin: 0 auto 60px; /* spacing - you can adjust the 60px down to whatever value you want */
    	padding-bottom: 30px; /* spacing - you can adjust the 30px down to whatever value you want */
    	width: 25%;
    }

    You can hide the line by removing border-bottom. Also to close up the space (if you want to) would be done by adjusting the margin setting of 60px and padding-bottom of 30px. You just need to experiment until you find it pleasing to the eye. See the comments above that I've included.

    BLACK LINE AT THE END OF POSTS

    Very similar to the above solution only backwards on the spacing. In your style.css of your child theme go to around Line 1510 until you find .entry-footer::before

    .entry-footer::before {
    	border-top: 1px solid #000; /* the line itself - you can either remove this line entirely or comment it out */
    	content: "";
    	display: block;
    	margin: 30px auto 0; /* spacing - you can adjust the 30px down to whatever value you want */
    	padding-top: 60px; /* spacing - you can adjust the 60px down to whatever value you want */
    	width: 25%;
    }

    Hope that helps.

    Mike

    November 15, 2015 at 3:03 am #171143
    wrenadv
    Member

    Hi Mike

    Thanks so much for that. I will give it a try and let you know how it goes!

    Cheers

    James

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble