Support » Plugin: Secondary Title » Add css class to secondary title for everywhere

  • dear sir, thank you for this amazing plugin..
    i’m using it and working fine but i need a help.
    i want to style or hide the secodary title on homepage and archive pages for that i need to add a css class for secodary title.. for this their is a option in plugin setting and im using it too like this
    <span class=”secondary-title”>%secondary_title%</span>
    sir when im using it, css class applying on single post/page only.
    i want it to apply on everywhere in secondary title like on home page, featured post title, archive page, sidebar etc so that if i apply a css like this .home .secondary-title{color:#ff0} it should work…

    please sir help me to achieve this.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author thaikolja



    I’d love to provide support to fix your issue. Could you, please, Make a list of the pages + sections where you DO want the secondary to display and/or one where it should NOT (whatever is easier).

    Then I can have a look.

    Thread Starter ramanandmehta


    thank you very much for the response, sir.

    Actually the problem is not with displaying or not displaying the secondary title. I want to add a CSS class for the secondary title which should be work on every pages and every section of the site.
    I want to style the secondary title for this I need to add css class.
    when i am applying setting like this in plugin’s setting-

    %title%: <span class=”st”>%secondary_title%</span>

    here you can see, I am adding a span class “st” so that I can style using this one. but this class is working only on single post. I want it to work on every pages like archive page and all section of the site.

    for example, (here it is working) (here it is not working)

    you can inspect element and check the difference in the title.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add css class to secondary title for everywhere’ is closed to new replies.