The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Chatbox posts spacing?

3 posters

Go down

Chatbox posts spacing? Empty Chatbox posts spacing?

Post by inallsorts April 27th 2012, 6:39 am

Greetings guys,

I've enabled the default chatbox via the ACP, and wish to eliminate the spacing between posts. Here's what I mean:
Chatbox posts spacing? Chatboxa

I used this code to adjust the height and width:
Code:

#chatbox_top{
height: 190px !important;
width: 100% !important;
}
So just wondering whether a code can be added to this to achieve my objective?

Much appreciate your assistance.
avatar
inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Chatbox posts spacing? Empty Re: Chatbox posts spacing?

Post by Sanket April 27th 2012, 2:23 pm

Add it to your css. Change the 5 to whatever you want, see if thats what you want.
Code:
.chatbox_row_1{
padding: 5px !important;
}
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Chatbox posts spacing? Empty Re: Chatbox posts spacing?

Post by inallsorts April 27th 2012, 7:20 pm

Thanks, but It didn't work, no matter what number I changed It to, It still remained the same.
avatar
inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Chatbox posts spacing? Empty Re: Chatbox posts spacing?

Post by Sanket April 27th 2012, 7:21 pm

Isn't your forum version phpbb3?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Chatbox posts spacing? Empty Re: Chatbox posts spacing?

Post by LGforum April 28th 2012, 12:03 am

Try this:
Code:

#chatbox > p {
  padding: 0px;
  margin: 0px;
}

Increase 0 until your happy.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Chatbox posts spacing? Empty Re: Chatbox posts spacing?

Post by inallsorts April 28th 2012, 7:00 am

@Sanket, yes It Is phpBB3, but for some reason, It didn't take. I appreciate your help though.
@LGforum, thanks bud. your code worked perfectly. thank you.

Now rather than starting another topic, I just need a final adjustment on the chatbox and I'm done. I wish to move the Input field and the tools adjacent to It, to the center of the chatbox.
So from this:
Chatbox posts spacing? Chatbox1

To this:
Chatbox posts spacing? Chatbox2a

If there's a CSS code I can use, that'll be great.
Once again, thanks heaps for everyone's time and effort to assist me.
avatar
inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Chatbox posts spacing? Empty Re: Chatbox posts spacing?

Post by LGforum April 28th 2012, 12:57 pm

Hmm I did this without looking at anything so I can't promise anything but try this:
Code:

#chatbox-footer form {
  width: 90%;
  text-align: center;
  margin: 0 auto;
}
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Chatbox posts spacing? Empty Re: Chatbox posts spacing?

Post by inallsorts April 29th 2012, 3:08 am

Thanks for your effort LG, however It didn't work.

I may just leave It. If there's a code available, that's great. If not, I don't wish to put my problems on everyone else.
avatar
inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Chatbox posts spacing? Empty Re: Chatbox posts spacing?

Post by LGforum April 29th 2012, 4:04 am

Try changing 'chatbox-footer' in the above code to 'chatbox_footer'

As I say I didn't look, couldn't remember if it was a hyphen or underscroll. I was wrong lol.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Chatbox posts spacing? Empty Re: Chatbox posts spacing?

Post by inallsorts April 29th 2012, 3:15 pm

Changed It to an underscore, and still no go.

That's fine guys, I appreciate all your help anyway.
avatar
inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum