vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   content_control (the post new thread and new blog post buttons) problem with CSS (https://vborg.vbsupport.ru/showthread.php?t=244401)

deityx 06-11-2010 09:03 AM

content_control (the post new thread and new blog post buttons) problem with CSS
 
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 06-11-2010 01:57 PM

Best thing to do is to post links to the two pages so we can look at the css for each of them.

deityx 06-11-2010 02:11 PM

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 06-11-2010 06:04 PM

You have this for the New Thread button:
HTML Code:

.newcontent_textcontrol  {...border:1px dotted #999999;
... }

but it isn't in here for your blog button:
HTML Code:

#pagetitle  a.pagetitleinfo.textcontrol, .actionbutton_container  a.pagetitleinfo.textcontrol {...border:0;
... }

So you'll need to add it.

deityx 06-11-2010 06:40 PM

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.


All times are GMT. The time now is 08:21 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01097 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete