WordPress.org

Ready to get started?Download WordPress

Forums

style a .single_post (5 posts)

  1. frusi
    Member
    Posted 5 months 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. Noone Here
    Member
    Posted 5 months ago #

    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

  3. Noone Here
    Member
    Posted 5 months ago #

  4. frusi
    Member
    Posted 5 months 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. Noone Here
    Member
    Posted 5 months 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 :-)

Reply

You must log in to post.

About this Topic