You can use the BODY selector:
<pre>
body {background: #fff;}
</pre>
This would give you white on your whole page. Then in your #menu-left and #menu-right selectors you could add the same line as above, but change the colour codes to whatever you like.
<pre>
#menu-left {background: #039;}
#menu-right {background: #c1f;}
</pre>
Could you post a link to your site?
Craig.
Thread Starter
ikwak
(@ikwak)
lol
Warning: Invalid argument supplied for foreach() in /home/kkwak/public_html/calpolyonline/wp-links/links.weblogs.com.php on line 46
everything else looks good.
With 1.0 you shouldn’t be including links.websogs.com.php anymore, it’s now wp-includes/links-update-xml.php
Thread Starter
ikwak
(@ikwak)
Yeah sucks. I was working on the template and the layout.css when something screwed up.
I went back to version 072.
I don’t know if this is useful here, but I’ve just modified the CSS for my page for links display in the main body.
The links are now a shade of red, and they go orange when hovered.
To use it, you’ll need to use
Just drop this into the wp-layout.css anywhere.
a.main:link {
color: #cc0000;
outline: none;
text-decoration: none;
}
a.main:visited {
color: #cc0000;
}
a.main:hover {
color: #FF3300;
text-decoration: none;
}
a.main:active {
color: #FF9933;
}
There’s probably a more elegant solution, but this does for me 🙂
Okay .. since doing this, I’ve been manually putting in ‘class=”main” ‘ when adding links, and that got boring. So I had a look, and it was easy to get the program to do it for me.
In the file quicktags.js, the second function from the bottom should be amended to read;
if (!edCheckOpenTags(i)) {
var URL = prompt(‘Enter the URL’ ,defaultValue);
if (URL) {
edButtons[i].tagStart = ‘‘;
edInsertTag(myField, i);
}
That sorts links from the main login panel.
In the file bookmarklet.php, the line above /* /big funky fixes */ should read;
$content = ‘‘.$popuptitle.’‘.”\n$text”;
That sorts links when using the ‘Press-it’ function.
They aren’t big clever things, but they make my blogging better 🙂
Ack.
Try #2
Quicktags.js
Second function from the bottom is
function edInsertLink(myField, i, defaultValue)
Put ‘class=”main” ‘ between the a and the href of that statement.
Bookmarklet.php
In the line of text which is above “big funky fixes ” (it’s about halfway down), do exactly the same thing.
Of course, you could put any declared class in there for your links.
hello
Can someone tell what did I do wrong with this. I would like for the background color to be black but yet it’s white. What did i do wrong.
http://primadawna.com/myworld/index.php