3 replies [Last post]
kevb8ll
kevb8ll's picture
Offline
newbie
Last seen: 2 years 21 weeks ago
Timezone: GMT+1
Joined: 2011-11-29
Posts: 8
Points: 11

www.joysandsorrows.co.uk/newblog/

In the theme there is a custom CSS option and so I am using that to add addition / change existing CSS.

I have added the following to format an active page indicator on the menu:

Quote:

.current_page_item a {
color: #fff;
/*background: #0c098c; */
border-style: solid;
border-color: #0c098c;
border-top-width: 0px;
border-right-width: 5px;
border-bottom-width: 0px;
border-left-width: 5px;}

As you can see I actually want the background coloured in the style commented out.

It does work if I remove the comment, however the style doesn't pick up I want white text - although I think I have covered it in this code.

At the moment I have put a border either side just as a stop gap - but I would rather it as I said.

Am I missing something?

kevb8ll
kevb8ll's picture
Offline
newbie
Last seen: 2 years 21 weeks ago
Timezone: GMT+1
Joined: 2011-11-29
Posts: 8
Points: 11

Wow this site is really

Wow this site is really inactive. Ironic considering my request for help.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 9 hours 14 min ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9714
Points: 3790

Well,

I thought I had answered requesting clarification, but I must have gotten distracted. It happens.

I can't find any element of class="current_page_item". Is the class created in javascript?

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

kevb8ll
kevb8ll's picture
Offline
newbie
Last seen: 2 years 21 weeks ago
Timezone: GMT+1
Joined: 2011-11-29
Posts: 8
Points: 11

Ha ha, no problem Gary. My

Ha ha, no problem Gary. My comment was meant to be a joke.

Since posting the original request I have done something different that I am now happy with so it's cool thanks.