This topic contains 4 replies, has 1 voice, and was last updated by Ваш Банкир 4 years, 7 months ago.
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.
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.
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)
and after that put this code in custom css field, which you find in theme options>main options.
That was clear!
Can you please tell me the code for putting as background an image (repeat).
You must be logged in to reply to this topic.