Hi, I'm having hard time adding | delimiter in my primary links... Please help me....
Here is my page.tpl.php http://pastebin.com/m18efd089

Comments

nevets’s picture

Something like this should work, add to you style.css toward the end

#primary ul.li {
  border-right: 1px solid black;
}
#primary ul.li.last {
  border-right: none;
}

(this assumes you have not overridden theme_links())

r.cahilig’s picture

Hi,

I tried adding the code to my style.css but it not working... Checkout my website http://chr05210084.com. I'm using spreadfirefox theme.

nevets’s picture

First turn off css aggregatiohn and compression or none of you changes will show.

Then find (probably in style.css) '#header li' and do what you asked add something like

border-right: 1px solid red;

and add

#header li.first {
  border-right: none;
}

For some reason this theme has the first tab last. Now given the theme uses tabs for the links I would if you don't really just want to increase the right margin.