Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter diegothebest

    (@diegothebest)

    Hello,
    Is it possible to have different color and font size for feeds on different pages?

    Thank you

    Plugin Contributor Miguel Muscat

    (@mekku)

    Hi @diegothebest,

    Yes this is possible, but it requires some CSS knowledge.
    You can create different templates for each page, each give each template a different CSS class name. Then with CSS you can style each page individually.

    Here’s an example:

    1. Go to “RSS Aggregator” and then “Templates”
    2. Create a template called “Page 1”
    3. Under “Custom Style”, give it a custom CSS class, like “page-1-style”. Do not use spaces
    4. Save the template.
    5. Change the shortcode on the page to use the “template” parameter. Example: [wp-rss-aggregator template="page-1"]
    6. Go to “Appearance” (Aspetto) and then “Customise” (Personalizza)
    7. Under “Additional CSS” (CSS aggiuntivo), enter your custom styles
    8. Repeat steps for your other pages

    For your particular case, the CSS you need should be something like this:

    
    .page-1-style {
        color: rgb(30, 120, 250);
        font-size: 12px;
    }
    

    We recommend using a color picker to find the correct RGB or hex color (ex. “#ffaacc”) code.

    Hope this helps!

    • This reply was modified 5 years, 11 months ago by Miguel Muscat.
    • This reply was modified 5 years, 11 months ago by Miguel Muscat.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘different styles for id’ is closed to new replies.