Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Different formatting for same functions

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #190792
    stanmoor
    Participant

    Hi,

    On my site I have a plugin that displays the number of shares a post has. it is set to display on the homepage (where the article is advertised) and on the article itself.

    I would like to know if it’s possible to change the font and formatting of the text on the homepage, without affecting the font of the plugin on the post.

    The plugin is inserted through the use of a shortcode, and I am changing its display characteristics through CSS.

    Is it possible by creating a container of some sort for the one on the article page, and then changing that?

    Thanks

    #190847
    Paulie_D
    Member

    I’m assuming we’re talking about WP here?

    If so, the homepage will have it’s own class (or page-number).

    You can use that to target the relevant page CSS.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.