X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   CSS Question. How to format descriptions? (https://forum.x-cart.com/showthread.php?t=73530)

Katsu 02-05-2016 10:49 AM

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.

PhilJ 02-05-2016 12:15 PM

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.

Katsu 02-05-2016 12:26 PM

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.

PhilJ 02-05-2016 12:31 PM

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.

Katsu 02-05-2016 01:03 PM

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.

Katsu 02-06-2016 05:04 PM

Re: CSS Question. How to format descriptions?
 
Found it here:

/light_responsive/css/altskin.css

25, 26....


All times are GMT -8. The time now is 01:55 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.