Jump to content


Photo
- - - - -

Highlighting current text widget in sidebar


  • Please log in to reply
4 replies to this topic

#1 aylmer

aylmer

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 14 May 2011 - 06:49 AM

Hello! I'm new to Pagelines and website design. I am trying to get the current text widget on my sidebar to highlight or appear differently to indicate what page I'm at. Any suggestions? URL:

Please Login or Register to see this Hidden Content



#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 14 May 2011 - 03:42 PM

The sidebar/widget is inside an "outer frame" which would make its background color difficult to change if the area it's in never changes (since every page I go to only changes within the inside frame on the right). Does that make sense? How did you create the layout?

#3 aylmer

aylmer

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 15 May 2011 - 03:26 AM

I picked a one sidebar layer which is the blue area on the left. "home," "theater systems," "extras," and "contact" are text widgets that I added to the sidebar. I installed the "image mouseover" plugin I found while searching available wordpress plugins. Here is the html code the plugin came with: <img src="http://www.treehousetheaters.com/wp-content/uploads/2011/05/home-button-blue.jpg" class="mouseover" oversrc=http://www.treehousetheaters.com/wp-content/uploads/2011/05/home-button-red.jpg As you can see the sidebar is stationary or "floating" as I've learned and I used this CSS code: #sidebar1 {background: #292b5b;position:fixed;} So... are you saying there is no way for me to somehow keep a text widget red if I'm on that particular page... kind of like a navigation menu? thanks!

#4 aylmer

aylmer

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 15 May 2011 - 05:09 AM

ok.. i found a plugin that solved this.. thanks again!

#5 aylmer

aylmer

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 09 August 2011 - 06:38 AM

is there anyway to delete this discussion?