Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2012
    Location
    New Jersey
    Posts
    74
    Plugin Contributions
    0

    Default 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/

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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.

  3. #3
    Join Date
    Jan 2012
    Location
    New Jersey
    Posts
    74
    Plugin Contributions
    0

    Default Re: changing the define_main_page.php

    Quote Originally Posted by gjh42 View Post
    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.

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: changing the define_main_page.php

    Quote Originally Posted by TheMortician4 View Post
    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

  5. #5
    Join Date
    Jan 2012
    Location
    New Jersey
    Posts
    74
    Plugin Contributions
    0

    Default Re: changing the define_main_page.php

    Quote Originally Posted by rstevenson View Post
    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.

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: changing the define_main_page.php

    That's right. Stylesheets will only ever be looked for in your current template css folder, though.

  7. #7
    Join Date
    Jan 2012
    Location
    New Jersey
    Posts
    74
    Plugin Contributions
    0

    Default Re: changing the define_main_page.php

    Quote Originally Posted by gjh42 View Post
    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?

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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).

 

 

Similar Threads

  1. v151 modifying the Define_Main_Page.php
    By DarrellJ in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Jan 2015, 04:30 AM
  2. v139f Suddinely the define_main_page.php is missing from the web site.
    By wwwursa in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Feb 2013, 05:01 AM
  3. Images on don't show on the define_main_page .php
    By Oredayo in forum General Questions
    Replies: 16
    Last Post: 18 Nov 2010, 09:55 PM
  4. How do I place the category bar below the content of define_main_page.php?
    By Earl Parker II in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Dec 2007, 03:02 PM
  5. unable to edit the define_main_page.php
    By zc-newbie in forum Customization from the Admin
    Replies: 2
    Last Post: 1 Oct 2006, 03:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR