Answer the question
In order to leave comments, you need to log in
WordPress home page setup?
Site ring of
elysium.xyz Just through the admin panel, in the window where the content is written, I inserted the html / css code of the main page, previously written in notepad. Everything seemed good at first, but when I saw my site on the big screen (I usually use a laptop), I realized that something was wrong. Please tell me how to remove these indents around the background.
Answer the question
In order to leave comments, you need to log in
You would do well to familiarize yourself with the phr + vp codex.
https://wp-kama.ru/
https://codex.wordpress.org/
Do you want to create a theme or pull only the main page on an existing theme?
Information on creating a theme - https://codex.wordpress.org/Theme_Development
Information on page layout:
- create a PHP template front-page.php Assign it as a template for the main page
- insert html code into the template.
- Add PHP code get_header('home'); get_footer('home'); (For the main page to have its own header and footer)
- create 2 templates header-home.php footer-home.php
- place the wp_footer() code in them; wp_head()
- include scripts and styles via functions.php
in order not to connect them throughout the site, use conditional logic
https://wp-kama.ru/function/is_front_page
Brief instructions on the main functions of the VI for creating a theme or page layout:
https://yadi.sk/d/5ARTiBzq3QX5Wu
And yes, check styles, add media queries + connect bootstrap for adaptive if needed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question