The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Chatbox posts spacing?

View previous topic View next topic Go down

Chatbox posts spacing?

Post by inallsorts on 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:


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.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Re: Chatbox posts spacing?

Post by Sanket on 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
ForumGuru

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

http://webartzforum.com

Back to top Go down

Re: Chatbox posts spacing?

Post by inallsorts on 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.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Re: Chatbox posts spacing?

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

Isn't your forum version phpbb3?

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Re: Chatbox posts spacing?

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

Try this:
Code:

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

Increase 0 until your happy.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Chatbox posts spacing?

Post by inallsorts on 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:


To this:


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.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Re: Chatbox posts spacing?

Post by LGforum on 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
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Chatbox posts spacing?

Post by inallsorts on 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.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Re: Chatbox posts spacing?

Post by LGforum on 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
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Chatbox posts spacing?

Post by inallsorts on 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.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

View previous topic View next topic Back to top


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