Can't center Custom HTML Module in left or right Column


Author Message
GlennT

Posted: 2/23/2011
Quote message 

I am just starting to convert a site to Joomla and I am having a problem centering a custom HTML module in the left column. I tested the same module in the right column and find I have the same problem.

The link to the site is: http://test.findlayfoods.com/

Thanks in advance.
 
jrgweb

Posted: 2/23/2011
Quote message 

Have you tried "art-nostyle" in the module suffix?

jrgweb.net
 
Phil

Posted: 2/24/2011
Quote message 

Change
.art-blockcontent-body {
padding: 5px;

to

.art-blockcontent-body {
padding: 0px;
 
Glenn Tooth

Posted: 2/24/2011
Quote message 

Thanks to both jrgweb and to Phil, both approaches worked.

Question, if I change the template.css file and then tweak my template and install a new revision of my template aren't any changes I made to the template,css file lost? Any way to prevent that?

Thanks in advance.



 
Phil

Posted: 2/24/2011
Quote message 

Yes, a new install will overwrite the file with your changes.

What I would do is add the changes to Eport Options:


 
GLenn Tooth

Posted: 2/24/2011
Quote message 

I appreciate the assistance. When I went to implement your suggestion I do not see CSS options.I am currently using version 2.6. Would this be a version 3 option?

I am a bit new to CSS, if I had the CSS option in Export, once I implemented your suggestion, would I call the new "style" by entering "fritz-blockcontent-body" in the Module Class Suffix box?
 
Phil

Posted: 2/24/2011
Quote message 

Ah, sorry - it is a V3 feature.

No the extra css is added to the end of the file so would override any previous definitions (ignore the fritz prefix) - if you didn't have a custom prefix you would call it art-blockcontent-body