S
S
Sergey Volkov2021-07-10 15:50:29
WordPress
Sergey Volkov, 2021-07-10 15:50:29

How to make a custom background for a certain section in wp?

Hello I am new to wp. And I'm wondering how to make a custom background for a specific section.

Now I am using . But the image is set on the body. Is there any way to set the background to a specific section? add_theme_support( 'custom-background' );

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Litvinenko, 2021-07-10
@GovnoKoder_ITS

here's the customizer, but I still tend to think that the customizer is for global settings and not for the settings of a specific section of a specific page.
https://wp-kama.ru/handbook/theme/customize-api
https://codex.wordpress.org/Theme_Customization_API
https://misha.agency/course/nastrojki-temy-wordpress
_ without arbitrary fields in principle, so I even make settings through them and not through the customizer.
Again, what is the section done on? Gutenberg is good at backgrounds, all builders can too.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question