vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   My category bars won't do gradient! (https://vborg.vbsupport.ru/showthread.php?t=186067)

gundrik 07-22-2008 08:21 PM

My category bars won't do gradient!
 
Friends,

Hi, I'm new to the forums. I look forward to contributing as much as I can. :)

In the meantime, I'm looking for some friendly advice. I'm trying to get my category strip bar in the forums to have a gradient look (like the default blueish one). For some reason though, when I upload a new image that is a gradient image, it only display a solid color.

Current look: http://www.kingmakersguild.com/forums/index.php

Background for Category Strips is set to: url(images/gradients/gradient_tcat_red.gif)

Any idea why the new image isn't showing up like it is actually designed? Am I missing some code? Thanks much for any help. :D

Taragon 07-22-2008 08:40 PM

Quote:

Originally Posted by gundrik (Post 1581741)
Background for Category Strips is set to: url(images/gradients/gradient_tcat_red.gif)

it currently isn't.

this however should work
Code:

#869BBF url(http://www.kingmakersguild.com/forums/images/gradients/gradient_tcat_red.gif) repeat-x top left

gundrik 07-22-2008 08:46 PM

Okay, I've changed it to
Code:

#869BBF url(http://www.kingmakersguild.com/forums/images/gradients/gradient_tcat_red.gif) repeat-x top left
It is still coming out solid. I don't get it man. Is the code not registering somehow?

EDIT: I just tried Mozilla, and it seems to have come up with the gradient. It might be a problem with my curret browser. Does it look right to you guys??

Taragon 07-22-2008 09:20 PM

it's now working on you 2nd style :)

gundrik 07-23-2008 01:20 AM

WOW

I finally figured out what the problem was after hours of "WTF!". I was creating images that were 100x100px in dimension because the dimension of the original gradient_tcat.gif was 100x100.

But -- lo' and behold, the actually size of the category bar on my forums is only 25px high. So, once i changed my repeating image dimensions to 25x25, and set it to repeat, I was golden! Wow, magic anyone? :D

Hope this helps someone later. :cool:


All times are GMT. The time now is 05:32 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.01148 seconds
  • Memory Usage 1,719KB
  • 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_code_printable
  • (1)bbcode_quote_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