PDA

View Full Version : content_control (the post new thread and new blog post buttons) problem with CSS


deityx
11 Jun 2010, 10:03
Originally, they look exactly the same.

However, after altering the settings in the StyleVars, I made the 'new thread' button have a dotted 1 px border of a certain color, also the hover color of the font is blacker than non-hover.

The problem is that the values apply perfectly on the new thread button, but for new blog post button not. New blog post button lacks the border and the blacker font color for hover state.

so I'm assuming there is a hardcoded problem with control_content_hover_color and control_content_border or whatever it's called, somewhere in the css :S

I am totally new to vBulletin editing, but I am determined to make my own style!

Hope someone can help me.

Lynne
11 Jun 2010, 14:57
Best thing to do is to post links to the two pages so we can look at the css for each of them.

deityx
11 Jun 2010, 15:11
Oki, but bear in mind that it's an experimental site (although I own the license, but it still is the main place where I test my site and try to develop my own style for my needs). Most of the time it is locked due to not being completed, but I will unlock it for now.

http://crunatus.net/home

Check any of the forums where the +thread button appears. Then check the blog and +entry button.

Thanks

Lynne
11 Jun 2010, 19:04
You have this for the New Thread button:
.newcontent_textcontrol {...border:1px dotted #999999;
... }

but it isn't in here for your blog button:
#pagetitle a.pagetitleinfo.textcontrol, .actionbutton_container a.pagetitleinfo.textcontrol {...border:0;
... }
So you'll need to add it.

deityx
11 Jun 2010, 19:40
Worked well after I edited blog.css as you said.

The problem is that I assumed the stylevars apply for both buttons, but I was obviously wrong.