Quick question - just added the blank sidebox mod to www.bodykitsonline.co.uk, its at the top of the right hand colomn, basically how do i remove the white space around the content text.
Thanks
Quick question - just added the blank sidebox mod to www.bodykitsonline.co.uk, its at the top of the right hand colomn, basically how do i remove the white space around the content text.
Thanks
I just looked at your source code aned there seem to be a lot of <br>'s and <p>'s there.
Open includes/templates/your template/sideboxes/the sidebox.php in your editor and remove a few at the top and bottom of the offending text. That should do it.
Hi, unless im being stupid the only br's and p's i see are part of the address code, i can't locate any other coding in the files that could be causing the space.
Thanks
div id="blanksideboxContent" class="sideBoxContent">
<p><h3 align="center">SALES HOTLINE<br />
01326 561802</h3>
<p align="center">opening times: <br />
MON - FRI: 8.30 - 5pm<br />
SAT: 9am - 1pm<br />
St Johns Business Park
<br />Helston<br />
Cornwall<br />
TR13 8HN
</p></p></div></div>
The H3 could make the spacing for the first <p> very large. Maybe the last (blue) div can go too.
As you say, the rest of the <br>'s are necessary.
Thank You. I found the code in the templates/custom/sideboxes/tpl_blank_sidebox.php folder like you originally said. It now says // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!)
$content .= '' . TEXT_BLANK_SIDEBOX . '';
$content .= '';
$content .= '';
The content coding i inserted was in functions/extra_functions/custom which i why i counld see the extra </p>
Thanks
Last edited by ben harry; 16 Oct 2009 at 07:39 PM.
Bookmarks