Results 1 to 10 of 347

Hybrid View

  1. #1

    Default Re: Editable Home Page Centerboxes

    Have the same problem as your own test page with middle box 3. Screenshot is from your test page link.
    Attached Images Attached Images  

  2. #2
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Editable Home Page Centerboxes

    Quote Originally Posted by Streaming View Post
    Have the same problem as your own test page with middle box 3. Screenshot is from your test page link.
    You'll need to adjust the width of the content boxes to correct this.. This is a tableless design and with three boxes it presumes that each will only take up a third of the space. You'll notice that I have decimal values. I added those because when I was testing, I was trying to get the entire block of boxes to center, and could only get it to occur when I added the decimal values to the width.. Maybe a CSS gru can point out a better way to do this.. I'll be happy to correct the module and resubmit..

    #middlebox_1 {
    /*DO NOT MODIFY THE FLOAT OR WIDTH UNLESS YOU KNOW WHAT YOU ARE DOING!!*/
    float:left;
    width:33.1%;
    background:#e0d0d0;
    }

    #middlebox_2 {
    /*DO NOT MODIFY THE FLOAT OR WIDTH UNLESS YOU KNOW WHAT YOU ARE DOING!!*/
    float:left;
    width:33.32%;
    background:#c0c0c0;
    }

    #middlebox_3 {
    /*DO NOT MODIFY THE FLOAT OR WIDTH UNLESS YOU KNOW WHAT YOU ARE DOING!!*/
    float:right;
    width:33.1%;
    background:#e0d0d0;
    }
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #3
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Editable Home Page Centerboxes

    Quote Originally Posted by DivaVocals View Post
    You'll need to adjust the width of the content boxes to correct this.. This is a tableless design and with three boxes it presumes that each will only take up a third of the space. You'll notice that I have decimal values. I added those because when I was testing, I was trying to get the entire block of boxes to center, and could only get it to occur when I added the decimal values to the width.. Maybe a CSS gru can point out a better way to do this.. I'll be happy to correct the module and resubmit..
    Try this.. Replace lines 1-26 with this:
    Code:
    /*Centers middleboxes and aligns them in one row*/
    #navColumnMiddleWrapper {
        margin: auto;
        }
    
    #middlebox_1 {
    /*DO NOT MODIFY THE FLOAT OR WIDTH UNLESS YOU KNOW WHAT YOU ARE DOING!!*/
        float:left; 
        width:33%;
        background:#e0d0d0;
        }
        
    #middlebox_2 {
    /*DO NOT MODIFY THE FLOAT OR WIDTH UNLESS YOU KNOW WHAT YOU ARE DOING!!*/
        float:left;
        width:33%; 
        background:#c0c0c0;
        }
    
    #middlebox_3 {
    /*DO NOT MODIFY THE FLOAT OR WIDTH UNLESS YOU KNOW WHAT YOU ARE DOING!!*/
        float:left; 
        width:33%;
        background:#e0d0d0;
        }
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #4

    Default Re: Editable Home Page Centerboxes

    Ok, thanks for that. Have changed the code to the following which has worked fine:

    Code:
    #middlebox_1 {
    /*DO NOT MODIFY THE FLOAT OR WIDTH UNLESS YOU KNOW WHAT YOU ARE DOING!!*/
    	float:left; 
    	width:32.9%;
    	background:#e0d0d0;
    	}
    	
    #middlebox_2 {
    /*DO NOT MODIFY THE FLOAT OR WIDTH UNLESS YOU KNOW WHAT YOU ARE DOING!!*/
    	float:left;
    	width:33.15%; 
    	background:#c0c0c0;
    	}
    
    #middlebox_3 {
    /*DO NOT MODIFY THE FLOAT OR WIDTH UNLESS YOU KNOW WHAT YOU ARE DOING!!*/
    	float:right; 
    	width:32.9%;
    	background:#e0d0d0;

  5. #5
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Editable Home Page Centerboxes

    Cool!
    Quote Originally Posted by Streaming View Post
    Ok, thanks for that. Have changed the code to the following which has worked fine:

    Code:
    #middlebox_1 {
    /*DO NOT MODIFY THE FLOAT OR WIDTH UNLESS YOU KNOW WHAT YOU ARE DOING!!*/
        float:left; 
        width:32.9%;
        background:#e0d0d0;
        }
        
    #middlebox_2 {
    /*DO NOT MODIFY THE FLOAT OR WIDTH UNLESS YOU KNOW WHAT YOU ARE DOING!!*/
        float:left;
        width:33.15%; 
        background:#c0c0c0;
        }
    
    #middlebox_3 {
    /*DO NOT MODIFY THE FLOAT OR WIDTH UNLESS YOU KNOW WHAT YOU ARE DOING!!*/
        float:right; 
        width:32.9%;
        background:#e0d0d0;
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #6

    Default Re: Editable Home Page Centerboxes

    In the middle of a brainstorm. Where's the code for changing the Heading Titles to my own customized headings i.e. changing middle box 1, 2 and 3 to my own titles?
    Many thanks.

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Editable Home Page Centerboxes

    Quote Originally Posted by Streaming View Post
    In the middle of a brainstorm. Where's the code for changing the Heading Titles to my own customized headings i.e. changing middle box 1, 2 and 3 to my own titles?
    Many thanks.
    This is setup just like the sideboxes, so it will be in the language files.. I'm at work right now so I don't have the mod in front of me.. But it should be fairly obvious..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #8
    Join Date
    Jul 2007
    Posts
    324
    Plugin Contributions
    0

    Default Re: Editable Home Page Centerboxes

    I installed this on my test home computer before installing it on my hosting system. I got info. in the middle - no colored header like my side boxes have and how do I place them beside each other?

    Thank you
    LadyDee

  9. #9

    Default Re: Editable Home Page Centerboxes

    Great mod, it's perfect for what I need. I have it installed fine, just wondering if there is a good way to display it only on the product listing page? I have it above the main bit with position 8 at the moment, but I don't want it displaying on the other pages. I know I can create separate stylesheets for the pages with display:none in them, but is there a simpler way, something like the if statement in tpl_main_page which disables left and right columns on certain pages?
    Thanks

 

 

Similar Threads

  1. v154 Editable Invoices & Packing Slips [Support]
    By dbltoe in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Oct 2015, 11:44 PM
  2. Admin-Editable Sidebox - Support Thread
    By kuroi in forum Addon Sideboxes
    Replies: 331
    Last Post: 29 Oct 2014, 04:15 AM
  3. Move Define Page Text to bottom of page, below centerboxes
    By AirsoftOutfitter in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Jul 2011, 02:13 AM
  4. Editable Home Page Centerboxes click-able links
    By colhemm in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 22 Feb 2011, 09:04 PM
  5. Image above centerboxes on main page
    By direwolf in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 May 2008, 06:40 PM

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