How to underline an open section

photographers / 2013-10-24 15:08:37   

Hi,

I am working on the website photographers.fr

And I would like to know how to underline the title of the section opened, when you are looking at its contents, and then when you open a new section, I would like the first one stopping to be underlined and the new one becoming underline (for the viewer to be sure of the section he is looking at).

Does someone know how I could proceed?

Best from Paris,
Manon

arsondpi / 2013-10-24 15:41:58   

Use Firebug the firefox plugin and target each section title.

For example, on the exhibits that are under Photographers you need to add

  1. #index .container #section_2 li span { text-decoration: underline; }

You can either add this on the css part of the format(s) used in these exhibits or cheat and add it in the text area of these exhibits just before your content like:

  1. <style type='text/css'>#index .container #section_2 li span { text-decoration: underline; }</style>

This is not html "legal" but will work.
As I mentioned the above will work for the exhibits under Photographers.
You need to look at your source code or target each html element with FIrebug to find the rest...

arsondpi / 2013-10-24 15:44:01   

* Irrelevant to the above: this is not right and might cause future problems. Move the favicon link tag between the existing head tags without the head tags you inserted yourself.

  1. <head><link rel="shortcut icon" href="photographers.fr/favico.gif"></…;
photographers / 2013-10-24 15:55:08   

Thanks for your help!

This thread has been closed, thank you.