Difference between revisions of "How to remove bullets between field values"

From JReviews Documentation
Jump to: navigation, search
(Created page with "To remove the bullets between field values for all custom fields, add this code into custom_styles.css in your theme: <source lang="css"> ul.fieldValueList li:after { conten...")
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
To remove the bullets between field values for all custom fields, add this code into custom_styles.css in your theme:
+
To remove the bullets between field values for all custom fields, add this code into custom_styles.css file in your theme:
  
 
<source lang="css">
 
<source lang="css">
ul.fieldValueList li:after {
+
ul.jrFieldValueList li:after {
 
     content:'';  
 
     content:'';  
 
     padding:0;  
 
     padding:0;  
Line 12: Line 12:
  
 
<source lang="css">
 
<source lang="css">
.jr_fieldname ul.fieldValueList li:after {
+
.jrFieldname ul.jrFieldValueList li:after {
 
     content:'';
 
     content:'';
 
     padding:0;
 
     padding:0;
Line 18: Line 18:
 
</source>
 
</source>
  
replace jr_fieldname with the name of your custom field.
+
replace jrFieldname with the name of your custom field. For example, if the field name is jr_brand, use jrBrand in css.
  
  

Latest revision as of 14:53, 27 July 2013

To remove the bullets between field values for all custom fields, add this code into custom_styles.css file in your theme:

ul.jrFieldValueList li:after {
    content:''; 
    padding:0; 
}


If you only want to do that for a certain custom field, add the field name in front like this:

.jrFieldname ul.jrFieldValueList li:after {
    content:'';
    padding:0;
}

replace jrFieldname with the name of your custom field. For example, if the field name is jr_brand, use jrBrand in css.