Cb Profile has a huge space...

12 years 3 months ago #55785 by japanlinked
My CB Profiles have a huge space between the left/middle/right and the main tabs. There is almost a full page of scrolling between them. I think most users won't even know there are tabs way down there. How can I resolve this?

Site can be seen here:
12 years 3 months ago #55787 by nant
12 years 3 months ago #57542 by RCheesley
There are a huge number of queries about this - simply telling people to get their coder to fix it isn't too helpful IMO.

I had a similar problem with this on the docman component which was resolved by removing a few clr div tags from three files - could this be similar in CB?

It would be useful, for example, to know if this is related to one template, or all templates.

I too am having the same problem and have read through at least 20 odd posts asking for advice on the subject. I'll let you know how I get on :)


Ruth Cheesley
Joomla Specialist
Virya Technologies Ltd.
12 years 3 months ago #57546 by japanlinked
I have found a solution to the problem this might not work on all templates but it works for bentobox.

Find this:

<?php mosMainbody(); ?>

in your template html file. Then put it in a table.

<table width=100%> <!-- This is my space hack -->
<?php mosMainbody(); ?>

Let me know if it worked for you. Good Luck
Now on to problem 376 My CB users need to be manually snyc'd @@
12 years 3 months ago #57561 by beat
Yes, that can work. :)

Another fix is to replace it instead of table with this:

[code:1]<div style="float:left;width:100%;margin:0px;padding:0px;">
<?php mosMainbody(); ?>


Attention to template designers:

Please keep in mind that components can do "clear:both;" divs, and that if your template floats, you should have something like the above (also a floating div surrounding the component/content area.

The effect of that is that clear divs inside components will not clear down to your left column (as they clear all HTML code above them in source up to a different flow, such as table or floating div.

Hope that helps your template designer to fix their template.

We implemented a workaround in upcoming CB 1.2 as well. But other table-less components will still break with such templates. So you still need to fix your template if it does the above.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
12 years 2 months ago #58393 by motiejuz

i am pretty new in this and having same problem.

in what file should i change the line ?
Moderators: beatnantkrileon
Time to create page: 0.460 seconds

Facebook Twitter LinkedIn