• 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

css Code does not work in news pro them

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 › css Code does not work in news pro them

This topic is: not resolved

Tagged: news pro theme, style.css

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 9 months ago by Christoph.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 14, 2015 at 3:54 pm #165493
    Jan23
    Member

    Hi,

    i want to put this css code into my style.css of news pro theme.

    .highlight {width: 130px;padding: 4px 10px;margin: 0 0 5px;display: block;
    overflow: hidden;position: relative;left: -14px;background: #1fcf5d;
    border-left: 5px solid #4C33C6;color: #fff;font-size: 14px;line-height: 13px;
    text-align: left;}

    but it does not work. Can anyone help me?

    Thx

    September 14, 2015 at 4:20 pm #165496
    Jan23
    Member

    i used this code in sahifa theme before and it worked.
    why it does not work in the news pro theme?
    tryed to put it in the genesis and also the news pro theme style.css and it does not work...

    September 14, 2015 at 6:34 pm #165515
    Christoph
    Member

    Hi,

    as a bit of friendly advice, never customize the Genesis Framework directly because updates will override your changes.

    You made sure you added the highlight class to the style sheet and to the content?
    http://screencast.com/t/t6p95nTZww0

    It works fine for me:
    http://screencast.com/t/3hVEDiW2


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

  • 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

© 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