New Topic

Sidebar Widget Border

Home › Forum › Customization › Sidebar Widget Border

Tagged: 

This topic contains 5 replies, has 3 voices, and was last updated by  StartupWP 2 years, 9 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1080

    maw4dog
    Member

    Hello,
    I have searched around and tried a few things, but am unable to get a border set around my right sidebar text widget. If I want to apply it to only certain pages where do I make the change?

    Website -www.dogrehabworks.com, specifically the sidebar on the Veterinarians page.

    Thanks in advance.

    #1081

    StartupWP
    Support

    The ID class for that page is .page-id-492.

    So we can style like so:

    .page-id-492 #black-studio-tinymce-6 {
      border: 1px solid #CCCCCC;
      margin-top: 20px;
      padding: 0 15px 10px;
    }

    https://startupwp.com/topic/customizing-your-theme/

    Is that about what you were thinking?

    #1082

    maw4dog
    Member

    Yes that’s what I was thinking. Is there a way to change the background color of the widget? The border helps define the sidebar like I want, but a background color would make it standout even more. Thanks!

    #1086

    StartupWP
    Support

    Sure, update to:

    .page-id-492 #black-studio-tinymce-6 {
      background: #eee;
      border: 1px solid #ccc;
      margin-top: 20px;
      padding: 0 15px 10px;
    }
    #1261

    stjoesailing
    Member

    Thanks for the code, this helped me in changing widget background color also!

    #1263

    StartupWP
    Support

    Excellent.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.