How to wrap the sidebar widgets

Homepage Community Forums Epik Theme Support How to wrap the sidebar widgets

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #9252
    Antxon
    Customer

      Hi,

      I am using the Content-Sidebar layout for the majority of my internal pages. Is there a way to wrap the content of the widgets on this side bar. I would like to wrap them in a white box as I will be using a semi-dark background texture for the website.

      The website is located here

      Thanks in advance.

      #9263
      serenae
      Customer

        The only widgets I see are the social media links (“connect with us”) and the subscribe form (“free powerful tools”). Are these the widgets you want to wrap?

        #9267
        Antxon
        Customer

          Hi Serenae,

          Would like to wrap those two and any other widget I my put on the sidebar. By doing these two I will learn how to do the rest, I assume.

          Thanks in advance.

          #9278
          serenae
          Customer

            All right, so the easiest way is to add some custom CSS. I prefer to do it by using the ‘custom css’ feature in Jetpack, but you can also look for .sidebar .widget in the theme’s CSS file and modify it directly.

            .sidebar .widget {
                background-color: #FFFFFF;
                box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
                padding: 10px;
            }

            I added a little padding and the same shadow you have in the main content area. Just remove the box-shadow line if you don’t want it.

            #9297
            Antxon
            Customer

              Awesome!

              I will give it a shot once I get back home from work.

              Thanks for the quick response.

              #9298
              Antxon
              Customer

                Tested and it works!

                Thanks serenae!

              Viewing 6 posts - 1 through 6 (of 6 total)
              • The topic ‘How to wrap the sidebar widgets’ is closed to new replies.