Zen Cart Logo
Forums / General Questions / Css/Main Page issue..

Css/Main Page issue..

Locked

Views: 1,046

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
23 May 2008, 7:23 PM
#1
bolty2uk avatar

bolty2uk

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Css/Main Page issue..

Hi all im new to the forum..

Ive spent some time looking for answers to these but as of yet no luck so im guessing they are not possible..

But on the off chance i will give it a punt here..

I apologise if this has been answered elsewhere or blatantly obvious..

ok.. firstly, is it possible to edit the stylesheet.css file which is in my template in admin in anyway, i know this can be done to other files so wondering if it can for this file.

my second query is that my site is using a template and i want to include some text on the home page.. Now im guesing i can create the text via define page editor by editing define_main_page.php BUT as im using a template the link that pulls this data has gone so my question would be what code would i have to inculde on my actual tpl_main_page.php to include this text...

I guess i could juts add it straight to that file but would be far easier if i could use the admin if i need to update or edit...

anyway, im sorry if these have been answered elsewhere..
and im gratefull for any responcses this may generate..

thanks

23 May 2008, 7:33 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Css/Main Page issue..

The Tutorials/FAQ's in the top nav bar here ^^ are a good source for these basic issues

https://www.zen-cart.com/tutorials/index.php?article=36
https://www.zen-cart.com/tutorials/index.php?article=231
https://www.zen-cart.com/tutorials/index.php?article=158

Are you wanting to edit the css for the admin area or for your visible site?

23 May 2008, 7:45 PM
#3
bolty2uk avatar

bolty2uk

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Re: Css/Main Page issue..

Thanks Kobra

Im going through those links and the tutorial right now..

Yes the css is for the visible site..

Thanks.

23 May 2008, 7:51 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Css/Main Page issue..

is it possible to edit the stylesheet.css file which is in my template in admin
Well this confused me - but yes you can edit this file that will be at inlcudes/templates/your_template/css/stylesheet.css

There is no method to do so from the admin though - you have to FTP the file to your PC edit it using a plain text or good code editor(not word or nay of the wysiwyg editors) Save it and FTP it back to your host account

23 May 2008, 7:59 PM
#5
bolty2uk avatar

bolty2uk

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Re: Css/Main Page issue..

Thanks Kobra and sorry for the confusion.

You got it right as that is what i meant, no worries i dont expect to be editing the file everyday so will just have to carry on editing it the normal ftp way..

Thanks...