vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Border around album full sized pic (https://vborg.vbsupport.ru/showthread.php?t=297655)

setishock 04-28-2013 02:04 AM

Border around album full sized pic
 
1 Attachment(s)
4.1.2 pl8

See attachment first.
I have been in the CSS and templates trying to find what the white border is called so I can round off the corners. Is it really a border or a background with the pic sitting on it?
Either way what code controls it?

tbworld 04-28-2013 07:05 AM

Quote:

Originally Posted by setishock (Post 2418883)
4.1.2 pl8
Either way what code controls it?

Code:

#picturelink img {
  background: none repeat scroll 0 0 red;
  box-shadow: -2px 2px 2px #000000;
  padding: 10px;
  text-align: center;
 border-radius: 5px;
}

I think this is what you are looking for. :)

setishock 04-28-2013 04:04 PM

I wound up doing this >
Code:

#picturelink img {
        /* background-color:{vb:stylevar lightweightbox_background.backgroundColor}; */
background-color:gray;
        border:solid 1px {vb:stylevar lightweightbox_border.borderColor};
border-radius:15px;
        padding:{vb:stylevar padding};
        text-align:center;
        -moz-box-shadow: -2px 2px 2px {vb:stylevar picturelink_img_shadow_color};
        -webkit-box-shadow: -2px 2px 2px {vb:stylevar picturelink_img_shadow_color};
}

Thanks


All times are GMT. The time now is 02:14 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.00980 seconds
  • Memory Usage 1,714KB
  • 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
  • (3)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