Jump to content

Resolved - Login and Register


Ben224

Recommended Posts

Hello fellow Cubecarters,

 

I am developing a new skin based on Crosshatch 5.2.5 and have the following adjustment to make:

 

For Login and Register I would like to assign an icon (graphic) for each.

 

Once logged in...

 

For Logout and Your Account I would like to assign an icon (graphic) for each.

 

So 4 different graphics for each of the 4 above actions.

 

I have box.session.php flagged up as the likely file to implement  the changes, I have my icons ready and waiting on the server. I have assigned a .class to my CSS which goes something like this:

 

.btnLogin

background: url("../images/login.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);

 

But I haven't been able to successfully implement the modification. Can anyone help?

 

Many thanks in advance.

Link to comment
Share on other sites

According to similar effects in the Kurouto skin, you need to know where your CSS file that has these rules is located. If it's in /styles/ then you need to go up one directory. If it is in /styles/sub-style/, then you need to go up two directories: background: url("../../images/login.png").

 

If what you posted above is accurate, then you have not used the correct CSS rule syntax (no braces). Try:

.btnLogin {

  background: url("../images/login.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);

}

 

Finally, since the CSS file is a web page resource, there is no caching of it by CubeCart. But your browser certainly may. (Firefox with the Web Developer toolbar can disable the browser's cache.)

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...