, Guest!
Already a Member? Login or Register.

Menu



Showcase


Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > User Help > FAQ's: Templates > Removing or making invisible the line between blocks

FlexCMS Support Forum


Removing or making invisible the line between blocks
Started March 20, 2011 @ 2:54pm by Grady
Post Message 
Grady


Posts: 25
 
Removing or making invisible the line between blocksMarch 20, 2011 @ 2:54pm
How can I make the line between blocks invisible or the same color as the background where it appears so that the line is not visible? I am talking about the line which appears at the bottom of each block such as Who's Online, Admin, Menu, etc.

Thank you,
Grady
 
DCSun
Administrator



Posts: 625
 
March 20, 2011 @ 4:14pm
Hi Grady,

That's going to depend which template you're using, but the process is pretty much the same. The $BlockSpacers array controls what gets added between multiple blocks at the same position. $BlockSpacers[0] is the base used for all locations, then individual locations can be overwritten with $BlockSpacers[location] (ie $BlockSpacers[1] for left blocks -- there's a legend of position codes in each template).

So for example, this template (Innovation - Fawn) has this for the spacer (template.php line 156):

Code

$BlockSpacers[0] = '<img src="'.$TemplateImagesURL.'/spacer.gif" border="0" width="1" height="12" alt=""><br><div align="center"><table width="100%" height="1" cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#5E5E5E"><img src="'.$TemplateImagesURL.'/spacer.gif" border="0" width="1" height="1" alt=""></td></tr></table></div><img src="'.$TemplateImagesURL.'/spacer.gif" border="0" width="1" height="10 alt=""><br>';


If you want absolutely nothing in between you could replace that with just a comment:

Code

$BlockSpacers[0] = '<!-- -->';


Or if you still want some space but just not a line you can remove the table which creates the line and adjust the spacer.gif's height to suit:

Code

$BlockSpacers[0] = '<img src="'.$TemplateImagesURL.'/spacer.gif" border="0" width="1" height="20" alt=""><br>';



Hopefully that helps. If you're still confused, let me know which template you're trying to modify and I can give you some exact code and line numbers.

David


FlexCMS v3.2 Has Been Released!
 
Grady


Posts: 25
 
Thank you for the prompt answerMarch 21, 2011 @ 1:46am
As always, thank you for the excellent and very fast service. Your information helped me do exactly what I needed to do.

I love the new version of Flex CMS.
 

Post Message 




Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!

MEMBERS




All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.07935 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS