Add a border underneath the Slider


Note :This snippet works only with the Classical style option. The Classical style option can be enabled in Appearance > Customize > Advanced > Theme Style. More about the theme style option here


Last Reviewed: 27-Apr-15 (3.3.20) 3.1.* 3.2.* 3.3.*

Where to copy/paste this code?
The simplest way is to use the Custom CSS section of the customizer option screen. If you have many customizations to make in CSS and PHP, then we strongly recommend you create a child theme. Everything you need to know about creating a child theme with Customizr here.


Related Snippets you may also like


We can help you to implement this snippet

Coding is our job and we know WordPress inside and out. We can help you to customize your website with small chunks of code snippets like this one.

Send us your request and we'll get back to you quickly.



3 thoughts on “Add a border underneath the Slider

  • Aaron Erons

    worked perfectly, had to re-add another code for the *border-bottom to border-top* as red is the preferred brand color for my project in place of the code Sir Dave gave..

    /* 2px=thickness, solid=style (dotted-dashed-solid-double-groove-ridge-inset-outset), red=color */
    #customizr-slider {
    border-top: 2px solid red;
    }

    Thanks for your quality effort Sir,#The_Newbie++ getting skilled up…winks

    • Dave Bardell Post author

      Heather, I’d suggest the Forum would be a better place to get a solution for this, with a much wider audience to help fix problems. And please include a link to your Site.

Comments are closed.