Page 1 of 1

need code from home page for 7.0

Posted: Tue Nov 13, 2007 1:27 pm
by cerami2
hi my name is joe, this is my first posting on this forum I have been using storefront for the last two years and feedup with it and purchased this software to rebuild my store with
http://www.insulincase.com old
new http://66.252.239.209/

I am not a programmer but trying to learn .
So if i could get a few answers to some questions along the way of learning this program it would be much appriciated


1.Can some one give me the code for the content and layout (scriptlets) that is on the home page .I deleted it by mistake

2 could someone look at my homepage http://66.252.239.209

an on the header on the right is the search box i need to move it up so it is on the blue part

Thank you in advance

Joe Cerami
The Insulin Case Shop

Re: need code from home page for 7.0

Posted: Tue Nov 13, 2007 3:54 pm
by bobr2k
cerami2 wrote: 1.Can some one give me the code for the content and layout (scriptlets) that is on the home page
The Insulin Case Shop
I've found the zip file that I downloaded to be a good source of files mistakenly deleted. :oops:

Re: need code from home page for 7.0

Posted: Tue Nov 13, 2007 6:59 pm
by AbleMods
bobr2k wrote:I've found the zip file that I downloaded to be a good source of files mistakenly deleted. :oops:
Amen to THAT!

Posted: Tue Nov 13, 2007 9:10 pm
by hyper1
cerami2,

To move the search box higher into the header your can change the size of the shortcuts cell that is located above the search box. The css style to do this is found on line 558 of your style.css sheet in your theme folder. Search for this entry and change the height to meet your need (try 70px). You may have to adjust the height of your header to get the exact look you want.

/* style for container of shortcut links that can appear in the header */
#storeHeader .shortcuts
{
width:400px;
height:90px;
}



Able has done a good job of labeling the css styles by the area they control - the logo css styling is primarily located in this section of the css sheet

/******************************************************************************************/
/* styles for the store header section */
/******************************************************************************************/


As for restoring the html and script that was in the home page, I believe you only need to log in to the merchant and select Website -> Content (Scriptlets) from the menu bar. Then you can edit the Home Page scriptlet to modify the content. I think what you are looking for is at the top of page 7 in the AbleCommerce v7.x Customization Guide.

To modify your css sheets I recommend you use Firefox browser with the Web Developer extension. It makes css modifications easy(ier). There are a few display issues with Firefox right now, but it is the best tool I know of.

This sounds like the right time to ask this question

Posted: Wed Nov 14, 2007 8:03 am
by bobr2k
My copyright is sticking to the left side in firefox 2+ but it's perfectly centered in IE7 ... if I add float: "right" to the footer both move to the right. What is the secret to float: "middle" (which doesn't exist)? :roll:
Thanks,

Posted: Wed Nov 14, 2007 10:41 am
by jmestep
I haven't tried it in AC7, but in 5.5, I had to put <div> around the entire section on each page. I think someone else might have said margin:auto or something like that in the css, but I don't remember.

Posted: Wed Nov 14, 2007 11:22 am
by hyper1
I have been using it in ac7 since it was released in beta 1. It worked fairly well upon initial release but a FF upgrade that was recently released has caused compatability issues with the Web Developer extension. You can review the issues on the Web Developer forum page - it appears to be affected by "complex" CSS sheets. They do not define complex, but Ac7 CSS style sheet could be of such size and complexity that the extension may not be able to handle it very well until the next extension upgrade.

thanks for the help

Posted: Wed Nov 14, 2007 2:49 pm
by cerami2
thanks to the quick response for my qestions . I was able to fix the problems I was having
Regards
Joe Cerami