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 5 years, 3 months ago.

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

    maw4dog
    Participant

    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
    Keymaster

    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
    Participant

    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
    Keymaster

    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
    Participant

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

    #1263

    StartupWP
    Keymaster

    Excellent.

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

You must be logged in to reply to this topic.