Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Quick question

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-23-2008, 04:47 PM
 
Stinkweasels Stinkweasels is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 45
 

Default Quick question

I can't seem to find where to make the "secure log in" or "log out" text in the authbox to where it changes when you hover it. It does so on recover password. www.stinkweasels.com


http://i199.photobucket.com/albums/aa195/stinkweasle/scure_link.jpg
__________________
X-Cart Gold v4.1.10

www.stinkweasels.com
Reply With Quote
  #2  
Old 01-23-2008, 06:50 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Quick question

Open up that template and see what class the link is calling.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-23-2008, 08:29 PM
 
Stinkweasels Stinkweasels is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 45
 

Default Re: Quick question

Thats my problem. I don't see a class its calling
__________________
X-Cart Gold v4.1.10

www.stinkweasels.com
Reply With Quote
  #4  
Old 01-23-2008, 11:07 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Quick question

You can trace css easily with firefox and the firebug addon. With firebug, you can inspect an element. You just mouse over an element on your page and it tells you what css is controlling it.

Using firefox/firebug, it looks like you might be assigning the class="VertMenuItems" incorrectly if you want it to use the defined hover.

You have:
<a class="VertMenuItems" href="***"><font class="VertMenuItems">Secure login </font></a>

Which seems strange - the font class is defeating the a link properties that you have set up. Try removing the font.

<a class="VertMenuItems" href="***">Secure login</a>
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #5  
Old 01-24-2008, 01:02 PM
 
Stinkweasels Stinkweasels is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 45
 

Default Re: Quick question

Where would that be?

I checked the auth.tpl, authbox.tpl, and secre_login.tpl
__________________
X-Cart Gold v4.1.10

www.stinkweasels.com
Reply With Quote
  #6  
Old 01-24-2008, 02:23 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Quick question

You can use webmaster mode to make sure I am answering correctly, but I believe secure_login.tpl will probably call buttons/button.tpl, and that is where you will see the class getting set.

If you modify button.tpl, you have to be careful because it is sharing code with other buttons. When you look around the forum - you will see many people just create their own version of button.tpl for various reasons. It seems to me that the <font class="VertMenuItems"> in there is redundant and causes problems with the css settings you want, but I can't be sure for what situation they want that <font> code there.

Another option: in secure_login.tpl - you might try just making the link in there without calling button.tpl
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:21 AM.

   

 
X-Cart forums © 2001-2020