Wooassist

Assistance for Your Woocommerce Store

  • How it Works
  • Pricing
  • Services
    • Site Maintenance
    • AI SEO and Content Marketing
  • Blog
    • How-To Articles
    • Code Snippets
    • SEO For E-Commerce
    • Theme and Plugin Reviews
    • Wooassist News
    • WordPress/WooCommerce News
    • Interviews
  • About Us
  • Contact
You are here: Home / Code Snippets / How to Remove Horizontal Line under Page Title in Storefront Theme

How to Remove Horizontal Line under Page Title in Storefront Theme

February 26, 2015 By Nick J 2 Comments

Updated 18/2/16 due to Theme Update

For one reason or another, you might find that you’d like to remove that horizontal line just below the page title in Storefront theme. The horizontal line becomes prominent when you don’t have a title for your page which could happen on home pages.

Remove Horizontal Line under Page Title in Storefront Theme
That line that the arrow is pointing at.

To remove the horizontal line, simply add the code below to your child theme Styles.css file.

.page-template-template-homepage-php .hentry .entry-header, .page-template-template-homepage-php .hentry .entry-header h1 {
 border-bottom: 0;
margin-bottom: 0px;
 }

The code “margin-bottom: 0px;” is necessary to remove the bit of extra spacing below where the line used to be.

Now you know how to remove horizontal line under page title in Storefront Theme but if that doesn’t fix your problem, let us know in the comments.

People that read this article also liked

How to Rename Primary Menu in Mobile View for Storefront Theme How to Move the Navigation Menu Outside of Header for Storefront How to Change the Arrows in Pagination for Storefront and WooCommerce internet-characterHow to Create a Child Theme for Storefront

Filed Under: Code Snippets, How-To Articles Tagged With: code snippet, CSS, design tweaks, how-to, Storefront, woothemes

Comments

  1. sander says

    December 29, 2015 at 8:48 am

    Hello

    I’m from the Netherlands so my English is not very good! I hope it’s not a problem!

    I’ve entered the code is style.css from my Child theme. But the line is still there? Please can you help me?

    Reply
    • Nick J says

      February 23, 2016 at 7:03 am

      Can you post a link to your site?

      Make sure you have activated your child theme and the code has been inserted correctly. Try using the Simple Custom CSS plugin and paste the CSS code there instead.

      Also, there was an update to Storefront styling and now there are now two lines under the titles.

      We have updated the code in the article. Please try this code instead:

      .page-template-template-homepage-php .hentry .entry-header, .page-template-template-homepage-php .hentry .entry-header h1 {
      border-bottom: 0;
      margin-bottom: 0px;
      }

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


Woocommerce Support

wooassist-team-in-Iloilo

Get 2 Hours of
FREE SUPPORT

We are so confident that you will love our services that we will give you your first 4 hours at a 50% discount

That's 4 hours for only $75

BUY NOW

Happy Wooassist Customers

Awesome! Fantastic! I just went to our site and I see that our site has been fixed!! We are getting orders again thanks to you all at WooAssist! Our site has not worked and looked this good for many months!! You all are awesome! Thank you so much for fixing our site! You have a customer for life! Thanks for making my day wonderful!

Kenneth Arnold

We have been quite pleased working with WooAssist as they help fill in the gaps of our development needs, all at a great price. They are always timely and communicate great, I highly recommend their services.

James Grasty

My husband and I am EXTREMELY pleased with the WooAssist Team. They provide excellent service, are very knowledgeable, and super easy to communicate with. The team ALWAYS has our company's best interests in mind. I love WooAssist! All of you make my job easier.

Jennifer Taft leetaft.com

Categories

  • Code Snippets
  • How-To Articles
  • Interviews
  • SEO For E-Commerce
  • Theme and Plugin Reviews
  • Uncategorized
  • Wooassist News
  • WordPress/WooCommerce News

Recent Posts

  • How to Use WooCommerce Coupons to Drive Sales; Includes Advanced Custom Enhancements
  • How to Implement WooCommerce Reviews and Ratings: Encouraging Customer Feedback and Building Trust
  • Focus on Your Business: Let Wooassist Handle Your WordPress and WooCommerce Site Updates
  • Maximizing Your Content’s Reach and Impact with Content Promotion
  • Content Marketing Best Practices for Optimizing Local Search Results
Let us support your online store so you can manage your business

Get started today

Get 2 Hours of FREE SUPPORT

We are so confident that you will love our services that we will give you your first 4 hours at a 50% discount

That's 4 hours for only $75

BUY NOW

Free eBook

Your subscription could not be saved. Please try again.
Your subscription has been successful.

YOURS FREE!

5 Things Every Online Store Can Fix On Their Website In The Next Week To Increase Sales

Quick Links

  • How it Works
  • Pricing
  • Blog
  • Contact
  • About Wooassist
  • My Account
  • Checkout
  • Privacy Policy
  • Cookie Policy
  • Terms and Conditions

Wooassist

Australia:
59 Luke St.
Hemmant QLD 4174

Philippines:
San Miguel St.
Poblacion, Iligan City 9200

Connect

     

Copyright © 2025 · Wooassist

Yours FREE!

5 Things Every Online Store Can Fix On Their Website In The Next Week To Increase Sales