Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

charmarsh
Ecommerce Template Expert

USA
933 Posts

Pre-sales questions only
(More Details...)

Posted - 03/27/2023 :  12:31:08  
I have my ul formatted in the ectstyledetails1.css page and it works fine when editing within the admin descriptions. However when adding text to a custom detail page the formatting is not being applied.
The css file linked to the proddetail page is ectstyledetails1.css and that is where the style is:

div.detaildescription ul {
list-style-image:url(../images/check.gif);
padding-left:30px;
}
div.detailshortdescription ul {
list-style-image:url(../images/check.gif);
padding-left:30px;
}

1818charlie
ECT Moderator

United Kingdom
1179 Posts

Posted - 03/27/2023 :  16:09:24  
Hi Charlotte

If I am understanding correctly is the custom detail page a separate page from the proddetail page? If so is the stylesheet referenced in the head of the custom detail page?

<link href="css/ectstyledetails1.css" rel="stylesheet" type="text/css" />

charmarsh
Ecommerce Template Expert

USA
933 Posts

Pre-sales questions only
(More Details...)

Posted - 03/27/2023 :  17:43:38  
The custom detail page is a duplicate of the standard proddetail page, but renamed and with additional text added. Everything else is the same since it is a copy.

The style sheet is there.
Do you think I have to add a style div to the list?

Phil
ECT Moderator

United Kingdom
7619 Posts

Posted - 03/28/2023 :  02:49:26  
Hi Charlotte
Can we have the url so we can take a look please?



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

charmarsh
Ecommerce Template Expert

USA
933 Posts

Pre-sales questions only
(More Details...)

Posted - 03/29/2023 :  13:27:48  
This page shows the bullets as checkmarks at the top which is from the Admin description. The bottom part under the red rule is the text added directly to the php page. And as you can see, the bullets at the bottom are not using the checkmarks.
https://www.waterbeds.com/NEWwaterbeddoctor/proddetail-coronado2.php

dbdave
ECT Moderator

USA
10272 Posts

Posted - 03/29/2023 :  14:39:46  
Hi, that's because your extra text on the page is not part of the detail description and does not have any class assigned to it.
Just go into your custom code and create a class there - <li class="mylist">Your content</li>
Then go to the stylesheet and add your class to that

div.detaildescription ul,mylist {
list-style-image:url(../images/check.gif);
padding-left:30px;
}
div.detailshortdescription ul,mylist {
list-style-image:url(../images/check.gif);
padding-left:30px;
}

Alternately, if you always want the checkmarks for all lists, in place of bullets, then you could just add the following to your stylesheet
li {
list-style-image:url(../images/check.gif);
padding-left:30px;
}

Thanks,
David

Edited by - dbdave on 03/29/2023 14:42:55

charmarsh
Ecommerce Template Expert

USA
933 Posts

Pre-sales questions only
(More Details...)

Posted - 03/29/2023 :  16:13:05  
Thank you David!
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000