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

CSS Question. How to format descriptions?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-05-2016, 10:49 AM
 
Katsu Katsu is offline
 

eXpert
  
Join Date: Jun 2012
Posts: 349
 

Default CSS Question. How to format descriptions?

Sorry if this has been covered before. I am trying to edit product description: text size, font and color. I'm thinking somewhere in /light_responsive/css/altskin.css, but haven't found the line yet.

Is this where are the product description CSS parameters are located?

How do I enter bullets? So text looks like:
  • Detail 1
  • Detail 2
  • Detail 3

Thanks.
__________________
4.7.7
Light Responsive
Reply With Quote
  #2  
Old 02-05-2016, 12:15 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: CSS Question. How to format descriptions?

In the WYSIWYG editor, just highlight your text and click the 'unordered list' button.

HTML code produced...

<ul>
<li>Detail 1</li>
<li>Detail 2</li>
<li>Detail 3</li>
</ul>

To customise the bullets appearance you'd need to add custom CSS, like in this tutorial.
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
Katsu (02-05-2016)
  #3  
Old 02-05-2016, 12:26 PM
 
Katsu Katsu is offline
 

eXpert
  
Join Date: Jun 2012
Posts: 349
 

Default Re: CSS Question. How to format descriptions?

Thank you Phil. I have no problem coding the html to format bullet and text styles. I need to find though, the parameters where these are determined in one of the CSS files.
__________________
4.7.7
Light Responsive
Reply With Quote
  #4  
Old 02-05-2016, 12:31 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: CSS Question. How to format descriptions?

There's no pre-defined styling for bullets, so you'd have to add your own custom CSS. Tons of resources out there for customising.
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
Katsu (02-05-2016)
  #5  
Old 02-05-2016, 01:03 PM
 
Katsu Katsu is offline
 

eXpert
  
Join Date: Jun 2012
Posts: 349
 

Default Re: CSS Question. How to format descriptions?

I know I will need to add CSS for the bullets. First, I need to find the CSS location for text size, font and color. For example:
Anna Karenina is a novel by the Russian writer Leo Tolstoy, published in serial installments from 1873 to 1877 in the periodical The Russian Messenger.

Anna Karenina is a married aristocrat and socialite......
The description looks to be an Arial font, about 12-point, in black. So somewhere in one of the CSS files, these parameters are determined. This is what I'm looking for.
__________________
4.7.7
Light Responsive
Reply With Quote
  #6  
Old 02-06-2016, 05:04 PM
 
Katsu Katsu is offline
 

eXpert
  
Join Date: Jun 2012
Posts: 349
 

Default Re: CSS Question. How to format descriptions?

Found it here:

/light_responsive/css/altskin.css

25, 26....
__________________
4.7.7
Light Responsive
Reply With Quote

The following user thanks Katsu for this useful post:
qualiteam (02-07-2016)
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 01:05 AM.

   

 
X-Cart forums © 2001-2020