• 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

Remover Vertical line between Content and Sidebar

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 › Remover Vertical line between Content and Sidebar

This topic is: resolved

Tagged: content, css, Sidebar, vertical like

  • This topic has 4 replies, 2 voices, and was last updated 9 years, 6 months ago by hbollinger.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 25, 2016 at 12:25 pm #184393
    hbollinger
    Member

    Hello,

    I would like the remove the faint gray vertical line that separates my content and sidebar.

    In the code below, I tried changing the #d7d7d7 to #ffffff to just make it white and hide it that way. That worked for my larger computer screen, but when I checked in on my smaller screen (iphone 6s), my blog and page content is no longer centered like it was before (it looks like it's adding the vertical line off the right, but since I changed it to white it just hides the line, making my blog content look like it's pushed a little to the right.) The actual sidebar content remains centered as it should on my phone. I'm puzzled why it does this when I change the color.

    I also tried deleting this section: "border-right: 1px solid #d7d7d7;"

    But that didn't remove the line for me.

    .content-sidebar .content {
    border-right: 1px solid #d7d7d7;
    padding-right: 25px;
    }

    .sidebar-content .content {
    border-left: 1px solid #d7d7d7;
    padding-left: 25px;
    }

    Wondering what I'm missing? Any ideas? I removed the customization's I tried, so my website is currently displaying as the original way with the vertical line.

    Thanks,
    Hannah

    My site: wovenbeautiful.com

    http://wovenbeautiful.com/
    April 25, 2016 at 12:48 pm #184395
    emasai
    Participant

    Deleting 'border-right: 1px solid #d7d7d7;' should work and not make any difference to the responsive. Do you have some sort of caching? That could be why you didn't see the change.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    April 25, 2016 at 1:08 pm #184397
    hbollinger
    Member

    I changed this:

    .content-sidebar .content {
    border-right: 1px solid #d7d7d7;
    padding-right: 25px;
    }

    To this:
    .content-sidebar .content {
    padding-right: 25px;
    }

    ...but the vertical line is still there from my view. I'm not using caching that I know of.

    April 25, 2016 at 1:15 pm #184398
    emasai
    Participant

    I didn't realize you were not removing that line from the style.css file. That is where you need to remove it. The custom css that you are using will only add or change items from the style.css. You would have to write the custom css:
    .content-sidebar .content {
    border-right: 0;
    }


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    April 25, 2016 at 1:39 pm #184400
    hbollinger
    Member

    Oh Perfect! That worked. I'm sorry...I should have mentioned where I was making changes. When I make changes, I try to use the custom css when possible so that I remember what I've changed. Good to know that it doesn't work for removing something - I learn as a I go. Thanks for your help!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Remover Vertical line between Content and Sidebar’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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