Resolved

sidebars

Ultra Theme started by Tricia Jun 8, 2016 5 replies
Tricia Jun 8, 2016 · 5:24 am #3708

Hi Andrew,

Is it possible to have different sidebars for different parts of the site? I have a few main landing pages, but then would like to have navigation on the left side for those individual areas. Right now I”m only seeing one sidebar and when I use it, it applies to all of my pages that have side navigation.

Andrew Misplon Puro Jun 8, 2016 · 9:45 am #3711

Hi Tricia

WooSidebars or Jetpack Widget Visibility are an easy way of controlling which widgets appear in certain situations:

WooSidebars

Jetpack — Essential Security & Performance for WordPress

I prefer Widget Visibility but it’s a personal preference.

However, Ultra only has one sidebar which you can globally position right or left from the Customizer. In the next update we’ll have page settings that’ll let you set sidebar position per page, unfortunately this isn’t ready yet. If you send the link to those landing pages I can try assist with custom CSS in the mean time.

Tricia Jun 9, 2016 · 4:59 am #3729

Thanks Andrew. WooSidebars is working great for what I need.

I was able to tweak the look of my sidebar by adding this to the Custom CSS, to get a colored background:

.sidebar #secondary {
   background-color: #6684c6;
   padding-top: 2%;
   padding-right: 2%;
   padding-left: 2%;
   width: 20%
}

But now I need to adjust the font color (a.hover, a.active, a.visited). Do you know what this code would be?

Thanks!

Andrew Misplon Puro Jun 9, 2016 · 5:35 pm #3735

Sure, for sidebar only link colors, try :

/* Sidebar */
#secondary a {
    color: #0896fe;
}

#secondary a:visited {
    color: #0896fe;
}

#secondary a:hover,#secondary a:focus,#secondary a:active {
    color: #0896fe;
}
Tricia Jun 9, 2016 · 8:07 pm #3736

It worked!! Fantastic!!! Thank you Andrew!

Andrew Misplon Puro Jun 9, 2016 · 8:12 pm #3737

Super, glad that did the trick.

6 posts