Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Help with Main page

Help with Main page

Locked
This thread is locked. New replies are disabled.
11 Jan 2009, 1:01 PM
#1
pcnoobie avatar

pcnoobie

New Zenner

Join Date:
Jan 2009
Posts:
13
Plugin Contributions:
0

Post #1 by pcnoobie

Hi. I have been customizing my site for a while now and although I have backed up the files I worked on, something might have happened that my text is not centered anymore.

I read the posts here and went to my stylesheet and typed center when appropriate in the text related areas of it.

You may take a look at how it looks now at http://wiz2biz.com

I don't know where else to look, have tried the Admin area, and the define pages editor is not helping.

I also notice that a new search box appeared on the left of my Main page and I have no clue how that happened or how to delete it. Any help is appreciated. Thanks.****

11 Jan 2009, 1:58 PM
#2
tryphon avatar

tryphon

New Zenner

Join Date:
Mar 2008
Location:
Brussels, Belgium
Posts:
69
Plugin Contributions:
0

Post #2 by tryphon

Deleting the search box is easy :

Admin -> Tools -> Layout Boxes Controller.

Click on the line 'sideboxes/search_header.php'. Set 'left/right column status' to 'OFF'.

What's more worrying is to understand how this search box surfaced again. It looks like you have restored a previous backup of the DB, taken at a time when this search box was displayed in the header.

12 Jan 2009, 5:01 AM
#3
pcnoobie avatar

pcnoobie

New Zenner

Join Date:
Jan 2009
Posts:
13
Plugin Contributions:
0

Post #3 by pcnoobie

Thanks for the reply. That helped. I was able to correct the position of the search boxes.

I am still unable to center the text on the main page. Any suggestions what might get that done?. I tried the stylesheet and centered the text there, but it is not showing even after refreshing the page. I don't know what else to do to center the text.

Any help is appreciated. Thanks.

12 Jan 2009, 5:15 AM
#4
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Post #4 by lissae

Find in stylesheet.css (line 272)

Add in part in red:

.centerColumn {
background:#FFFFFF none repeat scroll 0%;
font-size:1.2em;
padding:0.8em 0.8em 40px;
text-align:center;
}

:D

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

12 Jan 2009, 5:18 AM
#5
doddsey_65 avatar

doddsey_65

New Zenner

Join Date:
Jan 2009
Posts:
51
Plugin Contributions:
0

Post #5 by doddsey_65

Have you tried going into admin-tools-define pages-main page and typing <center> at the beginning of the part you want centered? Remember to close it at the end </center>
Posted via Mobile Device

12 Jan 2009, 9:22 AM
#6
pcnoobie avatar

pcnoobie

New Zenner

Join Date:
Jan 2009
Posts:
13
Plugin Contributions:
0

Post #6 by pcnoobie

Thanks for the help. I got to center the welcome text in the main page (you can see it at http://wiz2biz.com) **but I have not been yet able to align the text on the side boxes as you can notice. **Presently I am going down the stylesheet to see where I can find this option.

Something I noticed is that no text or html shows up in the page editor. I looked at the permissions to see if they were all set correctly and they are. I can type text and it shows up in the page I type in after I save it.

I am currently using the comstock template. My override folder looks like this at includes/templates/

classic
comstock
template_default

Each of these folders has a css stylesheet. So far I have been using the one in comstock, but afraid to delete the css in the other two folders just in case they mess up my site entirely. **Any suggestions?. ** Thanks in advance.

12 Jan 2009, 9:57 AM
#7
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Post #7 by tony_sar

if you mean your sidebox header text , then here is the code in CSS that you need to look for

.leftBoxHeading, .rightBoxHeading {stylesheet.css (line 313)
background-image:url(../images/sidebox_header_bg.gif);
background-repeat:no-repeat;
margin:0;
padding:0.5em 0;
text-align:center; // add this to align header text
}

12 Jan 2009, 10:27 AM
#8
pcnoobie avatar

pcnoobie

New Zenner

Join Date:
Jan 2009
Posts:
13
Plugin Contributions:
0

Post #8 by pcnoobie

Thanks tony_sar, you sent me in the right direction.

Although I was not able to do the complete centering with your code, I managed to get it done, by adding the align-text: center part in line 308 of my css stylesheet as displayed in bold text:

#navColumnOneWrapper, #navColumnTwoWrapper {
margin: auto;
font-size: .9em;
text-align: center

Thanks you for the help. One less trouble on the way to setting up my website.

I hope to get more ice tea to start working on the real headache tomorrow which will be separating the login page the way it shows at my site so that current members don't have to see the long sign up form for new ones.

Also thanks to all those who help me here.

12 Jan 2009, 12:14 PM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #9 by stevesh

Try Admin - Configuration - Layout Settings - Use split-login page and see if that gives you what you're looking for.

14 Jan 2009, 5:12 AM
#10
pcnoobie avatar

pcnoobie

New Zenner

Join Date:
Jan 2009
Posts:
13
Plugin Contributions:
0

Post #10 by pcnoobie

Thanks Stevesh. What I meant was customizing the Login window for current members so they did not have to see the long Sign Up form under their user and password options screen.
I read a few options in the forum but still looking for one that matches the one I am looking for.

**By the way, do you happen to know how I get to change the color of the word Login in the main page?. I have been experimenting with the stylesheet, but haven't yet found the code line that does the trick. **

14 Jan 2009, 9:24 AM
#11
pcnoobie avatar

pcnoobie

New Zenner

Join Date:
Jan 2009
Posts:
13
Plugin Contributions:
0

Post #11 by pcnoobie

pcnoobie:

Thanks Stevesh. What I meant was customizing the Login window for current members so they did not have to see the long Sign Up form under their user and password options screen.
I read a few options in the forum but still looking for one that matches the one I am looking for.

**By the way, do you happen to know how I get to change the color of the word Login in the main page?. I have been experimenting with the stylesheet, but haven't yet found the code line that does the trick. **

I found the answer to my own question and posting the solution here for anyone that runs into the same problem

I was able to change the color for my Login and Create Account links on the main page of the Comstock template by going to Includes>Languages>English>Comstock>Index.php (you may substitute the name of your template instead of Comstock if the code is the same in your template).

Then, on the first paragraph of the Index.php file you will see:

define('TEXT_MAIN','');

if (STORE_STATUS == '0') {
define('TEXT_GREETING_GUEST', '<span class="greeUser"></span> <a href="%s**"style="color: #009999">Create Account</a>  <span class="greetUser"></span><a href="http://YourWebsiteName.com/index.php?main_page=login"style="color: #FF0000"**>Log In</a>');

You need to add the html code in bold with your appropriate color. In my case the red color for Login is represented by #FF0000. You may want to checkout a free list of color codes on the web for your color of choice (called hexadecimal since it has six numbers and letters). Also notice, you need to include your website's URL after the http:// I hope this helps.

14 Jan 2009, 10:13 PM
#12
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Post #12 by tony_sar

well, thats what split login dose. although no one will see the sign up page at first .. but that page can be activated if user needs to sign up with your store.

15 Jan 2009, 6:56 AM
#13
pcnoobie avatar

pcnoobie

New Zenner

Join Date:
Jan 2009
Posts:
13
Plugin Contributions:
0

Post #13 by pcnoobie

Thanks Tony_Sar. That helped. I thought that thet returning customers login box also included the long Sign up form, but now realized that might have not been the case. I guess I missperceived it the first time.

For some reason the Submit Your Billing Information button for New Customers is not showing here, so I assume I might have messed the code accidentally yesterday or perhaps the pic associated with this button is missplaced. I will see what I can do to get it back. Thanks for the help here. John