Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Description layout on prodcut_info not like Admin


blr044

Recommended Posts

Posted

Hello forum members.

 

Am having a problem in getting the the description for the products to look like as in Admin -> product/categories. I use FCKEditor in admin when typing in the description. I have attached to images below; one is what it looks like in admin and the other image in product_info. Regardless what I set the padding or margins in stylesheet.css, and also for the <ul> and <li>, I can not get the <li> to indent under product description. Really would appreciate any advice on this.

 

Admin:

admin

 

store:

store

 

Thanks in advance.

 

Bennett

Posted

Add this to the stylesheet:

 

ul {
 padding-left: 35px;
}

 

Adjust to suit your needs.

 

Sometimes after changing the stylesheet in order to see any change you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server, including the newly changed stylesheet.

 

This works with IE and Firefox.

 

All I can say is it works in the web developer plugin inside Firefox.

:)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Actually, there is already an entry in the stylesheet for this:

 

.ul {
 padding-left: 15px;
}

 

Firefox doesn't like the . at the beginning.

 

Must be a syntax error.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Hello forum members.

 

Am having a problem in getting the the description for the products to look like as in Admin -> product/categories. I use FCKEditor in admin when typing in the description. I have attached to images below; one is what it looks like in admin and the other image in product_info. Regardless what I set the padding or margins in stylesheet.css, and also for the <ul> and <li>, I can not get the <li> to indent under product description. Really would appreciate any advice on this.

 

Admin:

admin

 

store:

store

 

Thanks in advance.

 

Bennett

The above links may not work so try these:

 

admin:

admin-side.jpg

 

store:store-end.jpg

Posted

Thanks for the help. Once I removed the dot before ul it was fine.

 

Have searched using Google for the reason of the dot before any class in stylesheet, but never came upon a reason. Maybe using wrong keywords in searching.

 

Again, Appreciated it.

 

Bennett

Posted

Thanks for the help. Once I removed the dot before ul it was fine.

 

Have searched using Google for the reason of the dot before any class in stylesheet, but never came upon a reason. Maybe using wrong keywords in searching.

 

Again, Appreciated it.

 

Bennett

An answer:

 

CSS Class Selector

 

Read the part under 5.8.3 Class selectors

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...