style a .single_post (5 posts)

  1. frusi
    Posted 1 year ago #

    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

  2. Balint Toth
    Posted 1 year ago #


    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.

    Toth Balint BT

  3. Balint Toth
    Posted 1 year ago #

  4. frusi
    Posted 1 year ago #

    @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 :)

  5. Balint Toth
    Posted 1 year ago #

    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 :-)

Topic Closed

This topic has been closed to new replies.

About this Topic