WordPress.org

Support

Support » Themes and Templates » style a .single_post

style a .single_post

  • hi there,

    I’d like to style the background of one of my pages (i am using a free theme called Asteria Lite). Is there a way for me to apply a specific class just to one page?

    thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello!

    Usually you can find some page-specific classes in the <body> tag, like on this screenshot.

    If you could share a link to your site and give me more details about the modifications you would like to make, I am happy to provide you with the exact necessary code.

    Just on a friendly reminder, I hope that you are using a child theme for making these modifications, because this way you can ensure that the changes won’t be lost after an update.

    Cheers,
    Toth Balint BT

    @toth Balint BT

    Hi! Than you very much, by using the specific body tag class and the single_post generic one, I have been able to style my page! thanks a million 🙂

    You are welcome! I am glad that I could help out!

    If you have any more questions, just feel free to drop a line and I am happy to help 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘style a .single_post’ is closed to new replies.
Skip to toolbar