• 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

Enterprise Pro Theme – Search listing

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 › Enterprise Pro Theme – Search listing

This topic is: not resolved

Tagged: search listing

  • This topic has 6 replies, 3 voices, and was last updated 8 years ago by peterlaz.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • June 26, 2017 at 1:50 am #208272
    peterlaz
    Participant

    I have added border around the pages. It works as intended.
    However a search listing is showing the borders around the pages.
    How can I remove the page borders in a search listing?

    This is my CSS Entry

    .page .entry {
    
        background: #FFF;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    .page > .entry-header {
        background: url(images/section-background.jpg) repeat 0 0;
        background-color: #333;
        border-bottom: 0px solid #ececec;
        color: #000;
        margin: 0;
     }
    
    .page > .entry-header .entry-title {
        color: #FFF;
        -webkit-transition: all 0.25s linear;
        -moz-transition: all 0.25s linear;
        -o-transition: all 0.25s linear;
        transition: all 0.25s linear;
    }
    
     .page > .entry-content {
        border: 20px solid #0063ff;
       padding: 2% 1.5% 0;         
    }
    http://plan2040.com/
    June 26, 2017 at 2:29 am #208274
    ᴅᴀᴠɪᴅ
    Member

    You need to be much more specific with your CSS. You can't just put '.page' as this appears quite a lot in WordPress and it to vague - which page?

    ie if you're just wanting the border on the home page, you should put '.home' or better yet target the specific widget area '.home-bottom' etc.


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    June 26, 2017 at 2:30 am #208275
    ᴅᴀᴠɪᴅ
    Member

    to clarify.. i mean change this

    .page > .entry-content {
        border: 20px solid #0063ff;
       padding: 2% 1.5% 0;         
    }

    to perhaps this..

    .home-bottom .entry-content {
        border: 20px solid #0063ff;
       padding: 2% 1.5% 0;         
    }

    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    June 26, 2017 at 6:30 am #208278
    peterlaz
    Participant

    Thank you for your assistance.

    The CSS that I have Used is applicable to all the pages when viewed individually. It is not in the .home-bottom context.

    For example, http://plan2040.com/test-page-1/

    However, this CSS entry also applies to the pages listed in a search list. How can I prevent the CSS entry from being applied to the search listing? You can simulate the problem by searching something on the website.

    Thanks.

    June 26, 2017 at 6:56 am #208280
    Victor Font
    Moderator

    Add the following after .page .entry-content :

    
    .search-results .page .entry-content {
    	border: none;
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    June 26, 2017 at 9:16 am #208283
    peterlaz
    Participant

    It worked like a charm. Thanks Victor.

    June 26, 2017 at 8:22 pm #208319
    peterlaz
    Participant
    .page > .entry-header {
        background: url(images/section-background.jpg) repeat 0 0;
        background-color: #333;
        border-bottom: 0px solid #ececec;
        color: #000;
        margin: 0;
     }

    The background image that I am using for the page header also appears in the search listing. How can this image be removed in a search listing? Thanks

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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

© 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