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)
-   -   Space between announcements on forumdisplay (https://vborg.vbsupport.ru/showthread.php?t=273074)

patt1293 10-31-2011 12:14 AM

Space between announcements on forumdisplay
 
I have moved my announcements down to above stickies and I need to get rid of the line break between them. I've tried setting padding to 0 and I've examined it with firebug but i believe I'm missing something.

http://screensnapr.com/e/Ra0BOp.png

(MAKE SURE YOU SELECT THE THEME CALLED "DEFAULT - BETA")
Site is here: http://www.digitalbattlefield.net/fo...ral-Discussion

Theme is a modified version of this : https://vborg.vbsupport.ru/showthread.php?t=235542

What i've done to move announcements: https://vborg.vbsupport.ru/showthread.php?t=231460

Regards

HMBeaty 10-31-2011 01:13 AM

1 Attachment(s)
Ok, found the fix. In firebug, I found this:

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

You see where it has "margin-top: 5px;" with a line through it? When I changed that 5 to a 0, it went together with no space in between the announcements. So, search through your .css for ".announcements .announcerow {" and change that to 0 :)

patt1293 10-31-2011 01:55 AM

Quote:

Originally Posted by HMBeaty (Post 2263035)
Ok, found the fix. In firebug, I found this:

https://vborg.vbsupport.ru/attachmen...1&d=1320023540

You see where it has "margin-top: 5px;" with a line through it? When I changed that 5 to a 0, it went together with no space in between the announcements. So, search through your .css for ".announcements .announcerow {" and change that to 0 :)

Thank you for pointing that out!

I actually had to add:

Code:

.announcements .announcerow {
    margin-top: -1px;
}

To the additional.css as changing it to 0 in the forumdisplay.css was simply being ignored oddly.

Once again, thank you.


All times are GMT. The time now is 06:05 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.04697 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)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