This topic contains 4 replies, has 1 voice, and was last updated by  Ваш Банкир 5 years, 6 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #995

    Hi all,

    I would like to ask how I can change the background of a post?

    I tried to add the custom fields pg_background but the change can’t be saved.

    Thank you!


    Hi SidNik!

    You can change the background of a post with css code. But each post has its class.
    So I’ll show you the example of the code for a certain post in the attachment.

    .postid-172{background: red}


    Hi and thank you for your response.

    But where can I find the css code for a specific post?

    After all wouldn’t it be better if we could do using a custom field or via each post’s options?



    Each post has its id

    You just have to change the id here (I mean to change this id with the id of that post, for which you want to set custom background)

    .postid-172{background: red}
    and after that put this code in custom css field, which you find in theme options>main options.



    Thank you,

    That was clear!

    Can you please tell me the code for putting as background an image (repeat).


Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.