Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CSS Problem (I Think)


Guest

Recommended Posts

Firstly i will say , great version, i wouldnt use anything else now. A couple of thing confuse me however.

 

1. I could be wrong but I thought there was a column controller with this version and cant find it in the admin.

 

2. Im having trouble with a CSS issue. If you go to my WWW you will see at top there is the bar links that i have changed. My goal is a block of colour for mouse over but it seems to move the text all over the place.

 

My style sheet entry looks like this

 

A.headerNavigationBarLink {

color: #FFFFFF;

font-family: Arial, Helvetica, sans-serif;

font-size: 10px;

font-weight: normal;

padding: 0px;

margin: 0px;

text-decoration: none;

}

 

A.headerNavigationBarLink:hover {

color: #000000;

text-decoration: none;

background-color: #FF9900;

padding: 0px;

margin: 0px;

display: block;

font-family: Arial, Helvetica, sans-serif;

font-size: 10px;

font-weight: bold;

}

 

I dont see any reason why this should happen, my only thought was that it was calling the links from another page etc etc but not really sure, ive tried loads of different things but nothing.

 

Also can anyone tell me how i assign a bg image rather than a colour to this version.

 

thanks in advance.

 

Paul

Link to comment
Share on other sites

Change it to this:

 

A.headerNavigationBarLink {

color: #FFFFFF;

font-family: Arial, Helvetica, sans-serif;

font-size: 10px;

padding: 0;

margin: 0;

text-decoration: none;

display: block;

}

 

A.headerNavigationBarLink:hover {

color: #000000;

background-color: #FF9900;

font-weight: bold;

}

 

That works for me, you had put in unnecessary code counter acting each other.

Just embarked upon the greatest journey of my life........

Link to comment
Share on other sites

At the moment I am seeing nothing in the navbar due to white on white.

What happened with the SEC did you sort out the bit of code?

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

And to the second part of your question to have background pics do:

 

A.headerNavigationBarLink:hover {

color: #000000;

background: url(images/yourimage.gif);

font-weight: bold;

}

Just embarked upon the greatest journey of my life........

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...