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

Edit a Class file

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-07-2014, 08:32 AM
  mike@simcobox.com's Avatar 
mike@simcobox.com mike@simcobox.com is offline
 

Advanced Member
  
Join Date: Jan 2012
Posts: 44
 

Default Edit a Class file

I am trying to locate a class file but I cannot seem to file it. Is this the same as a css file?
Is there a way to search for the file? The name of it is productlDetails.

<td class="main"><div class="thumb_column"> <a href="home.php?cat=2"> <img src="skin/adapt/images/home-utility.jpg" alt="Plastic Utility Boxes - Saturn Series" width="112" height="82" /> </a> </div>
<div class="productDetails">
The code is above.
Can anyone tell me where to look for this file?
Thanks
Mike
__________________
Xcart Gold Version 4.7.6
Reply With Quote
  #2  
Old 04-07-2014, 09:11 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Edit a Class file

Are you looking for the template that controls this section? Have you tried webmaster mode? If not find the tutorial in my signature.

I see you are using the Adapt skin, I have limited experience with this template.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 04-07-2014, 09:33 AM
  mike@simcobox.com's Avatar 
mike@simcobox.com mike@simcobox.com is offline
 

Advanced Member
  
Join Date: Jan 2012
Posts: 44
 

Default Re: Edit a Class file

Hi
I know where the template file is and I am able to edit it. I am trying to adjust the cell sizes on a table within the template and it refers to class=productdetails. I need to find that class so I can fix the cell sizes. Is a css and class the same thing?
I will look at the tutorial
Thanks
Mike
__________________
Xcart Gold Version 4.7.6
Reply With Quote
  #4  
Old 04-07-2014, 09:39 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Edit a Class file

Ah, I see you have a question about CSS. Yes, classes are used in CSS, Use Chrome, and right click on the element and choose inspect element.

This should pull up the developer tools. If you need to determine what CSS file is controlling this class, you might need to turn off "Use speed-up tool for CSS" in the general settings section of the admin. Then you can see exactly what CSS file is taking priority.

Good luck, let us know if you have any more questions.

Here is a decent explanation of classes: http://htmldog.com/guides/css/intermediate/classid/
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
tartaglia (04-07-2014)
  #5  
Old 04-07-2014, 09:49 AM
  mike@simcobox.com's Avatar 
mike@simcobox.com mike@simcobox.com is offline
 

Advanced Member
  
Join Date: Jan 2012
Posts: 44
 

Default Re: Edit a Class file

Hi
Okay I went to chrome And I see where it says <div class="productDetails">
My problem is I cannot find where to edit this in the admin. I want to edit the class I think?
Mike
__________________
Xcart Gold Version 4.7.6
Reply With Quote
  #6  
Old 04-07-2014, 10:14 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Edit a Class file

Yes you do. Select this area in your inspector and look to the right, you should see the styles associated with it. Definitely watch this tutorial, near the end we start editing CSS files: http://youtu.be/5nkd7FPHMdA
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following 2 users thank totaltec for this useful post:
qualiteam (04-07-2014), tartaglia (04-07-2014)
  #7  
Old 04-07-2014, 10:15 AM
  mike@simcobox.com's Avatar 
mike@simcobox.com mike@simcobox.com is offline
 

Advanced Member
  
Join Date: Jan 2012
Posts: 44
 

Default Re: Edit a Class file

will do
Thanks
Mike
__________________
Xcart Gold Version 4.7.6
Reply With Quote
  #8  
Old 04-07-2014, 01:13 PM
  mike@simcobox.com's Avatar 
mike@simcobox.com mike@simcobox.com is offline
 

Advanced Member
  
Join Date: Jan 2012
Posts: 44
 

Default Re: Edit a Class file

Thank you
The video helped. I have the problem fixed.
Thank you
Mike
__________________
Xcart Gold Version 4.7.6
Reply With Quote

The following user thanks mike@simcobox.com for this useful post:
totaltec (04-07-2014)
  #9  
Old 04-07-2014, 01:17 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Edit a Class file

Glad you got it resolved. Sometimes a video is worth 10,000 words.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #10  
Old 04-07-2014, 01:19 PM
  mike@simcobox.com's Avatar 
mike@simcobox.com mike@simcobox.com is offline
 

Advanced Member
  
Join Date: Jan 2012
Posts: 44
 

Default Re: Edit a Class file

Yes I could not agree more. It got me looking in the right direction.
__________________
Xcart Gold Version 4.7.6
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 09:27 AM.

   

 
X-Cart forums © 2001-2020