CSS – design of feed items
-
Hi,
thanks for the plugin. It works fast and properly. The only issue I have fighted with is the change of CSS styling of RSS feed items.It was important before to add a CSS CLASS to initial default UL tag displaying the generated feed to apply my design intention.
It is possible via adding CLASS into plugins’ shortcode like this (undocumented in “how to use”):
start_items="<ul class=\'some-your-class\'>" end_items="</ul>"
Then was easy to style whole feed items in my CSS theme stylesheet like:
.some-your-class li: {color: red;}
What the problem is?
When you edit shortcode in WP HTML editor and then you switch to WYSIWIG and back, WP adds one more double quotation mark in the CLASS definition and it will stop working CSS CLASS – example:
start_items="<ul class="\'some-your-class\'">" end_items="</ul>"
Solution at the time?
Edit and Publish changes only from WP HTML editor, which is easy to forget and not comfortable.Questions for the future:
1. Woud not be possible somehow treet this unpleasant issue?
2. Then add it in plugins’ documentation for having more styling options?Many thanks for the support.
Alois
LINK to test page: https://usmaku.cz/test/?page_id=37
- The topic ‘CSS – design of feed items’ is closed to new replies.