changing the define_main_page.php
I am trying to change the define_main_page.php to display a difference image using the same layout, with different text. I changed it as such:
<a href="http://www.store.bbiclan.com"><img src="images/large/BBI Clan Badge.jpg" alt="Get your custom clan items, or create your own " title="If you run a clan, or are part of a clan, or just want to create your own products, BBI Clan eCommerce is the place to do it. !" /></a>
<a>If you run a clan, or are part of a clan, or just want to create your own products, BBI Clan eCommerce is the place to do it. !</a>
I want the image to be wrapped with the text and be a larger font. my changes resulted in this: http://store.bbiclan.com/
Re: changing the define_main_page.php
Add to your stylesheet
#indexDefaultMainContent img {float: left; margin: 0 1em 1em 0;}
#whatsNew {clear: both;}
If you want to alter the text, use
#indexDefaultMainContent p {font-size: 1.5em; font-weight: bold;}
with whatever styling you want.
Re: changing the define_main_page.php
Quote:
Originally Posted by
gjh42
Add to your stylesheet
#indexDefaultMainContent img {float: left; margin: 0 1em 1em 0;}
#whatsNew {clear: both;}
If you want to alter the text, use
#indexDefaultMainContent p {font-size: 1.5em; font-weight: bold;}
with whatever styling you want.
OK, which style-sheet and where is it? There are more than one folders with CSS folders within them.
Re: changing the define_main_page.php
Quote:
Originally Posted by
TheMortician4
OK, which style-sheet and where is it? There are more than one folders with CSS folders within them.
I see your template is called "modified", so the stylesheet you're looking for is in includes/templates/modified/css/
Didn't you create the "modified" template?
Rob
Re: changing the define_main_page.php
Quote:
Originally Posted by
rstevenson
I see your template is called "modified", so the stylesheet you're looking for is in includes/templates/modified/css/
Didn't you create the "modified" template?
Rob
I created the modified folder and have been gradually moving files that I have customized to said folder as they are done. To my understanding, the system first looks for any file in the modified folder, if it is not found the system then goes to the default folder to retrieve said file.
Re: changing the define_main_page.php
That's right. Stylesheets will only ever be looked for in your current template css folder, though.
Re: changing the define_main_page.php
Quote:
Originally Posted by
gjh42
That's right. Stylesheets will only ever be looked for in your current template css folder, though.
So the system is not smart enough to find the modified folder and search the sub-folder css?
How then when upgrading do we prevent losing the modded css files?
Re: changing the define_main_page.php
"Your current template" means the custom template you have active (/modified/). Unless you are using Classic for your active template, your template files will all be safe.
/includes/templates/modified/css/ is the only place you should put your custom stylesheet(s).