Jump to content

Newbie question


Recommended Posts

Hi - I'm new to having an online store and obviously new to cubecart so be gentle with me :)

A few things that will hopefully be fairly simple.....

  1. How do I change the background colour (Black) on the basic foundation skin ?
  2. If I change it to black, I'll also need to change the text colour of login/register, cart and price.  Where are they ?
  3. Where can I find sale items to remove the item from the top menu bar ?

I have 4 products currently but every time I click on any of them to get description etc I get a 404 message

 

I'll likely have some more questions but these are the main ones so I can make it look and feel how I want it !

Thanks in advance.

 

 

Link to comment
Share on other sites

Welcome Animal_UK! Glad to see you made it to the forums.

I will recommend to you that you get the Firefox browser and the Firefox Addon Firebug. Firebug will be your best friend at learning what CSS rules are in play for any area of the web page.

CubeCart loads a number of CSS file, and cubecart.default.css, currently empty, is the last to load, therefore whatever rules are in this file will take precedence over any other rule.

So, in cubecart.default.css, add the rules:

body { background-color: black; }
#box-session .button.white { background-color: black; color: white; }
#box-language .button.white { background-color: black; color: white; }
#box-currency .button.white { background-color: black; color: white; }
#mini-basket .button.white { background-color: black; color: white; }

If you set the store settings to not be in "sale mode", the link will not be there. But if you want to maintain sale mode, but remove the link anyway, in the template box.navigation.php:

Find:
	{if $CTRL_SALE}
	<li class="li-nav"><a href="{$URL.saleitems}" title="{$LANG.navigation.saleitems}">{$LANG.navigation.saleitems}</a></li>
	{/if}

Change to:
{* Temporarily commented out
	{if $CTRL_SALE}
	<li class="li-nav"><a href="{$URL.saleitems}" title="{$LANG.navigation.saleitems}">{$LANG.navigation.saleitems}</a></li>
	{/if}
*}

A 404 response from the web server means that URL ReWriting is not available, or is malfunctioning. This is a capability of the web server. You may need to verify with your hosting provider to enable URL Rewriting.

Link to comment
Share on other sites

That ALL worked great - thanks :)

Is there a way to have a picture in the background rather than just black ?

Also trying to setup my CanadaPost but keep getting "Unfortunately there are no suitable shipping methods available for your order. This may be because the total weight of your order is too high or we cannot ship to your country. Please contact a member of our staff for any further inquiries."

when I go to check out.

but I think it's the canadapost extension that I've not got 100%.

Tried a couple of others shops and this is proving to be the best I've trialled so far and will likely keep with it.

Thanks

Link to comment
Share on other sites

Add to the CSS body rule a property for background-image:

body { background-color: black; background-image: url('path/to/image.png'); }

Keep in mind, the path/to/image.png is based on starting where the CSS file is located. So, you may need to prepend the path with "go_up" indicators (../) to rise up and out of the CSS folder.

The CanadaPost module uses CubeCart's Request() system to ask for a rate. So, visit the Request Log in admin and find the Request and Response from CanadaPost, and post the entry here so we can determine how best to proceed.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...