• Hi,

    I am looking to place a coloured horizontal line in between widgets on my sidebar, I am using the minimalism theme.

    this is the site (work in progress)

    https://alt-sw.com/bath/

    could anyone help? I’m stuck!

    Thanks in advance,

    Tom

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hey!

    Edit your style.css file and on line 427 your find the ##sidebar ul, #sidebar ul ol styles.

    Add your code there. For example:

    border-bottom:1px solid red;

    this will add a red bottom line … You could also add an image

    background: url(pathtoimage) no-repeat bottom center;\

    Finally you may want to add a padding-bottom:10px;for example to push the whole thing a bit down.

    Good luck!

    Thread Starter henryjimdix

    (@henryjimdix)

    Magic! Thanks!

    Thread Starter henryjimdix

    (@henryjimdix)

    That does work with the red, how do I do it for color:#AD30AD? Also my top Widget is HTML into a text widget but the line does not appear. Will I have to alter the HTML in the widget and how do I do it?

    Many thanks AdrianApan!

    Thread Starter henryjimdix

    (@henryjimdix)

    Sorted the color, just need to get the line on the top widget now, Thanks!

    Tom

    Thread Starter henryjimdix

    (@henryjimdix)

    Ooops, just one more question then I’m done with this, I also want to add a Vertical line to separate the sidebar from the main page content, what do I need to code to get this?

    Tom

    You would just change it to border-left in the CSS of the side panel.

    Thread Starter henryjimdix

    (@henryjimdix)

    Hi Mxsix, Thanks.

    Unfortunately that doesn’t work how I would like, take a look:

    https://www.alt-sw.com/bath

    The left hand side of all the tables are now showing, I only want the one line.

    Any idea why the top widget isn’t underlined?

    Thanks!

    Tom

    Thread Starter henryjimdix

    (@henryjimdix)

    Gonna have to bump this, sorry, It needs to be resolved. Anyone?

    Thread Starter henryjimdix

    (@henryjimdix)

    Bump!

    Add this line:
    #sidebar ul ul {border: 0px solid #000;}

    On style.css line 586 add this:

    #sidebar {
    border-left:1px solid #FFFFFF;
    margin-left:745px;
    padding:20px 0 10px 10px;
    width:190px;
    }

    Yes, replace the old definition and alsothe #FFFFFF color code to your desired color.

    Good luck!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Coloured horizontal line in between widgets’ is closed to new replies.