• 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

Duplicate Sidebar Widget Title Styling

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 › Duplicate Sidebar Widget Title Styling

This topic is: resolved

Tagged: Modern Studio Pro, widget titles

  • This topic has 3 replies, 2 voices, and was last updated 4 years, 9 months ago by photomom86.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 28, 2018 at 7:18 pm #225287
    photomom86
    Member

    I have the Modern Studio Pro theme. The sidebar widgets have a border around them with the title in a black rectangle/box. I want to duplicate this styling in a widget above the content area. I added the following in the addtional CSS area and got the border.... but not the title. Any help is appreciated as I know very little about coding.

    .welcome-message {
        border: 1px solid #000;
        margin-right: 1em;
        padding-top: 1em;
    }
    https://foodanddiy.com
    December 28, 2018 at 9:24 pm #225293
    Anita
    Keymaster

    Look for this in your stylesheet:

    .sidebar .widget-title {
    	background-color: #000;
    	color: #fff;
    	font-size: 12px;
    	margin-bottom: 30px;
    	margin-top: -67px;
    	padding: 20px;
    	text-align: center;
    }

    Change it to this:

    .sidebar .widget-title,
     .welcome-message .widget-title {
    	background-color: #000;
    	color: #fff;
    	font-size: 12px;
    	margin-bottom: 30px;
    	margin-top: -67px;
    	padding: 20px;
    	text-align: center;
    }

    Love coffee, chocolate and my Bella!

    December 28, 2018 at 10:13 pm #225299
    photomom86
    Member

    I changed that code but it doesn't seem to have made a difference.... I cleared my cache. ?

    December 28, 2018 at 10:15 pm #225300
    photomom86
    Member

    Actually I added it to my additional css and it is working! Thanks again!

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Duplicate Sidebar Widget Title Styling’ 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

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