steveeboy
Forum Replies Created
-
Thanks, you’re welcome
PS: In the code example the tags are not required – I put them in to draw attention to the need for the !important in that position 🙂
Great news – glad it worked out.
Have you added the “!important” after your colour declarations? In the Codex section on child themes there’s specific mention of the Twenty Eleven dark theme .css being loaded after the child .css and so perhaps taking precedence sometimes. The advice is to use “!important” like this:
#site-title a { color: #009900 <strong>!important</strong>; }The syntax matters – the !important goes before the “;”
I’d suggest ensuring you try that first. Having said that I’ve had 1 instance so far where that didn’t work for me – I’m using the dark theme in Twenty Eleven and nothing I did would take precedence over the dark.css for this partucular page element but it was quite minor so not a big problem. Very odd.
Not sure what advice you’re being given about having to purchase/upgrade (purchase or upgrade what exactly) but I’d advise caution – can’t see how purchasing or upgrading something is going to help with this query.
Hi patmatt
I’m not exactly sure what you mean but since you say “dropdown” I’m assuming you have a menu with some sub-menu items and you want to change the colour of the dropdown with the submenu items when it first opens. If that’s what you’re after use this in your style sheet – if the colours don’t show add !important:
/*Change submenu dropdown colours*/ #access ul ul a { background: none repeat scroll 0 0 #F30; border-bottom: 1px dotted #DDDDDD; color: #FF0; }The hex code in the first line controls the colour of the dropdown background when it opens
The hex code in the second line controls the dotted line between submenu items – make it the same as the background to hide it or choose a suitable alternative colour to match your styling
The hex code in the third line controls the colour of the text in the drop down
Let me know if I’ve misunderstood what you were asking and maybe stick a link up and we can have another look.
Hope that helps a bit.
🙂 I’ll keep testing at my end just in case – it does seem odd but it also does make a difference, my site is showing the feeds I expected for the config I set. Thanks again for an excellent plugin.
UPDATE: I’ve changed the names of my feeds in the config page.
Previously I had e.g.
feed1|http://feeds.feedburner.com/hews_HP
I found that the problem started whenever I included feed1 in a page but never when I used a feed name with 2 digits e.g. feed10 so I changed feed1 to feed01 etc and all seems OK now.
Does that make any sense ? Feed names in the config are free text are they not ? Why would feed1 be a problem but not feed01 ?
🙂 Great! Glad it worked out for you.
In that case just use “none” as the background colout like this:
/* Change menu item bg colour and text colour when item hovered over*/ #access li:hover > a, #access ul ul :hover > a, #access a:focus { background: none; color:#533e60; (use the Hex code for whatever colour you want the menu text to be e.g. #FFF for white, #000 for Black etc) }Does that help ?
PS: something else to be aware of:
If you’re using the dark theme in Twenty Eleven the dark.css is loaded last so styles within it might overwrite some of your styles in your child style.css. The way around this is to add “!important” to the styles in your chil style.css file where necessary – this will ensure they take priority.
Not sure what the specific problem is from the posts above – maybe jsut me not reading it clearly.
The previous posters advice is good – you need to add the CSS for your child theme to the file “style.css” in your child theme folder NOT the style.css associated with the default Twenty Eleven theme.
I’ve styled my menu to suite my current needs by adding the following CSS to my child theme style.css folder – see if following the structure (with your own hex codes for colour helps)(you can see the results at http://www.riotstories.co.uk to check if that’s the sort of thing you’re after)
/* Change menu item bg colour and text colour when item hovered over*/ #access li:hover > a, #access ul ul :hover > a, #access a:focus { background: #000000; color:#533e60; } /*set current marker styling for menu*/ #access .current_page_item > a, #access .current_page_ancestor > a { font-weight: bold; background:#533e60; background: -moz-linear-gradient(#0f0f0f, #533e60); background: -o-linear-gradient(#0f0f0f, #533e60); background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0f0f0f), to(#533e60)); /* Older webkit syntax */ background: -webkit-linear-gradient(#0f0f0f, #533e60); color:#ffffff; } /*Change gradient bg when menu item hovered over*/ #access li:hover > a, #access a:focus { /*font-weight:bold;*/ background: #0f0f0f; /* Show a solid color for older browsers */ background: -moz-linear-gradient(#666666, #0f0f0f); background: -o-linear-gradient(#666666, #0f0f0f); background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#666666), to(#0f0f0f)); /* Older webkit syntax */ background: -webkit-linear-gradient(#666666, #0f0f0f); color: #666666; }PS: The black rectangle is very easy to see in Google Chrome, visible in Firefox but less obvious than in Chrome but still clear.
Forum: Themes and Templates
In reply to: Add RSS icons to Twenty ElevenSort of resolved – for now anyway.
I settled for just finding a plugin and using that – of course it does limit me to where I can place the links but that will have to do for now. I’ve not really used WordPress much and have zero experience of php, am using this new personal site to learn about both. This is beyond me at present I’m afraid.Forum: Themes and Templates
In reply to: Author not displayed on posts in twenty eleven@alchymyth – thanks very much for that solution and explanation, worked perfectly. I’m new to WP and the 2011 theme. this helped a lot
Forum: Themes and Templates
In reply to: EZwpthemes – doesn’t preview and problems when I activateHi.
Sadly no I never found a solution – I get exactly the same behaviour as you do with all the EZWpthemes I’ve tried. All other themes I’ve tried from elsewhere work great.
Shame because I like the EZWPThemes. I tried using XAMPP following the discussion with samboll above but it didn’t make any difference. I gave up assuming it was something on my local instal but like you I also get the problem when they’re uploaded to the live server.
Forum: Themes and Templates
In reply to: EZwpthemes – doesn’t preview and problems when I activatethanks – do you think I should remove my WAMPserver setup first ?