Log in

View Full Version : Space between announcements on forumdisplay


patt1293
10-30-2011, 11:14 PM
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/forumdisplay.php?4-General-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, 12:13 AM
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, 12:55 AM
Ok, found the fix. In firebug, I found this:

https://vborg.vbsupport.ru/attachment.php?attachmentid=134165&stc=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:

.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.