 | |  | | | ReviewPost How do I...? Wondering how to do something in ReviewPost? |
April 21st, 2009, 11:31 AM
|
#1 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
| RP 4.1: stylesheet antique - borders for extra fields
Hi
RP 4.1
I like the stylesheet antique. Now I would like to add borders/lines inbetween the exztrafields in a product dscription. See the sreenshots the red lines.
I looked in the css, but do not find where to do this. How do I do this?
Thanks in advance
|
| |
April 21st, 2009, 01:06 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
Maybe add a border css statement to tddetails class.
|
| |
April 21st, 2009, 01:37 PM
|
#3 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
| Quote:
Originally Posted by Chuck S Maybe add a border css statement to tddetails class. |
mmmhhhh
but then it adds everywhere borders...
I thought/hoped there would be a css statement in the css only for the extra fields...
In which file is the link for the extra fields to the CSS file? Then I could cnage tddetails to something like tdextrafields and define it extra in the antiqua css...
|
| |
April 21st, 2009, 01:43 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
No sorry I dont know of too many applications that make css classes like that for just one specific area.
You could do what you wish by making a new class and alter whichever templates accordingly sure.
|
| |
April 22nd, 2009, 04:24 AM
|
#5 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
| Quote:
Originally Posted by Chuck S ...
You could do what you wish by making a new class and alter whichever templates accordingly sure. | I did that, but somehow it does not react to this. I exchanged the tddetials class in both showproduct.tmpl and showproduct1.tmpl into a new class and added this new class also in the antique css file. But I do not see differences after that.
Is my new class wrongly decribed in the css file?: Quote:
.tddetails_trennlinien {
background: #FFFFFF;
color: #000000;
border-color: #800000;
border-style: solid;
border-width: 1px;
}
| |
| |
April 22nd, 2009, 09:20 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
Dont know are you editing the correct template or have you simply tried something like making a new class like this and placing the class where needed. Code: Content visible to verified customers only.
|
| |
April 22nd, 2009, 05:04 PM
|
#7 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
|
Hi
in showproct.tmpl and showproduct1.tmpl I made the following changes marked in bold (always for each extrafield). Code: Content visible to verified customers only.
in antique.css, I added this: Code: Content visible to verified customers only.
Is this wrong?
|
| |
April 22nd, 2009, 06:51 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
Yes it is wrong Code: Content visible to verified customers only.
that should be Code: Content visible to verified customers only.
You have not defined any additional style array element so you simply use the new class name |
| |
April 23rd, 2009, 01:55 AM
|
#9 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
|
I am not really a talent in this codework...
Thanks, it works now.
|
| |
April 23rd, 2009, 02:39 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,706
|
Yeah well you just need to watch out for little things like that. You where trying to add a class account to the style array and those are defined in the forum integrations or the bottom of pp-inc.php. The style array is what enables us to assign other style class names to the templates in different forum integrations. In what you wanted to do you simply needed to put in the template the exact class name since those style array calls really map out to a default style name. Code: Content visible to verified customers only.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | Extra Fields | burntire | ReviewPost Bug Reports | 10 | October 11th, 2007 09:15 AM | | Extra Fields | Fingertips | Classifieds How do I...? | 1 | February 2nd, 2007 04:57 PM | | Extra Fields | bada_bing | Photopost Pro How Do I...? | 4 | April 23rd, 2006 09:43 AM | | Extra Fields | Toxiedog | Classifieds How do I...? | 1 | April 17th, 2006 09:53 AM | | Extra Fields | garybrun | General Discussion | 3 | June 7th, 2005 08:42 AM | All times are GMT -5. The time now is 01:51 AM. | |