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)
-   -   Forum nav links and page navigation formatting (https://vborg.vbsupport.ru/showthread.php?t=272779)

BonsaiNut 10-25-2011 02:10 PM

Forum nav links and page navigation formatting
 
How do I control formatting for these two areas of the forum (see image)

(1) This section of the forums do not appear to have any stylevars(?) How do I turn on / turn off this forum navigation shortcut, and how do I format its background and font? The only place it is mentioned in the Forum Stylevars visual dictionary it is a typo - they say that it is pagetitle_link_color, but that stylevar controls something completely different.

(2) I know how to format the pagination section - to a point. I can't seem to format its background (a holding shape to allow it to pop off the site background). Additionally I can't seem to control its placement. On some pages it hovers directly above the pagetitle_border. On some pages it intersects the pagetitle_border (as pictured). I would like to be able to either give it a solid color background, or control its placement.

Thanks for your help! I have looking at this for hours and can't figure it out.

https://vborg.vbsupport.ru/external/2011/10/13.jpg

Lynne 10-25-2011 04:55 PM

1 You can look up all the breadcrumb stuff in vbulletin-chrome.css. Some of the stylevars used are lightweightbox_background, imodhilite_backgroundColor, linkhover_color, etc.

2 You could add something to your additional.css to give it a background color. Something like:
HTML Code:

.above_threadlist .threadpagenav {background-color: blue; padding: 5px; }
That is the same CSS class you would use to modify the position.

BonsaiNut 10-25-2011 08:24 PM

Thank you Lynne :) I'll take a peek and see what I can come up with :) I appreciate the help!

BonsaiNut 10-28-2011 03:06 PM

Ok, I put an background color behind the pagination, but I am not 100% satisfied with the results. It looks like a wart sticking out of the top of my pagetitle :) So I thought - ah! I will just create a solid color yellow image, use it for the pagetitle_background, and then shift it upwards to lie behind the pagination. Then I will have a nice horizontal block of color!

But I cannot seem to get ANY image to show in my pagetitle_background. I have tried using gif images, png images, jpeg images, and they don't show up. I have tried setting the background color to transparent, white or black, and it makes no difference. All I see is a transparent block in the middle of my pagetitle. I can link directly to my image via a browser window, so I know I have my image path in there correctly. I remove the image path and I can go back to solid colors and everything works fine. The second I add an image it defaults to transparent.

Any idea?

https://vborg.vbsupport.ru/external/2011/10/8.jpg

Lynne 10-28-2011 03:59 PM

You are adding an image how? We can't debug something if we don't see the exact code you were adding.

BonsaiNut 10-28-2011 07:46 PM

Quote:

Originally Posted by Lynne (Post 2262360)
You are adding an image how? We can't debug something if we don't see the exact code you were adding.


Sorry. I am doing this in admincp. "Styles and Templates". "Style Manager". Under the stylevar pagetitle_background. There is an entry "background image". I am entering the direct link to the image on my website that I would like to use in this stylevar (it is a solid color block 1920 x 40 pixels).

There are other options like "background repeat" (leave blank) "units" (leave blank) "horizontal offset" (leave blank) "vertical offset" (leave blank).

When I use this stylevar and select a "background color" everything works fine. When I use this stylevar and select "background image" I get a transparent box (as in the image above).

Lynne 10-29-2011 12:00 AM

You cannot enter a direct link to the image. It needs to look like this (take a look at other background image fields and you will see):
HTML Code:

url(images/xxx/myimage.png)

BonsaiNut 10-29-2011 12:14 AM

Thanks Lynne! As always, I knew it had to be user error :)


All times are GMT. The time now is 08:48 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.01017 seconds
  • Memory Usage 1,728KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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