I created my own original theme from HTML, CSS, and PHP in WordPress.
"If you look at ""customization"", the design will collapse."
(1) The logo MOFULOG appears small for some reason.The verification tool allows you to use the
<a href="file:///Users/kuranishifumi/Desktop/mofulog/index.html">MOFULOG</a>
<a href="http://localhost:8888/wordpress" class="blog_title">MOFULOG</a>
For some reason, the display is completely different from .It seems that you can create a logo by editing the basic information of the site → title of the site, but where did the html and css that I typed go...
(2) Also, the hamburger menu, which should only be displayed on mobile, is always displayed in Customization.
→ Why do you hide css and non-mobile cases with display.none?
(3) "Customization" shows the mysterious characters of "mofulog" and "To New Articles to Old Articles."
(4) In "Customization", "Enter text to search..." disappears.
It would be very helpful if you could tell me why css is no longer reflected instead of a detailed answer."Also, ""wordpress css collapses"" and so on, but I can't find a solution…
"
In the previous stage, all csss were not reflected, but it was resolved by adding php.
https://gyazo.com/23249e43edafe41ba6609386cc4272f3
https://gyazo.com/eaa3bb8fb8146cf2e029fc5c11346963
HTML, CSS, PHP
The code is huge and I don't know where to disclose it, so if you comment on which language you want to see, I will post it separately.
WordPress 4.9.7
MAMP
ATOM
When you press the appearance on the dashboard and when you press the theme details are simply screenshots of the theme prepared by the theme creator, so try installing screenshots (like gyazo's first image) in the original theme directory, for example, Create a screenshot of the theme.Name the file screenshot.png and save it to the theme directory.The screenshot correctly reflects the theme design and saves it in PNG format.The recommended image size is 880x660, which is actually 387x290, but doubles the image size to support HiDPI displays with higher screen resolution. I can't say for sure the current state information about the behavior of "When I press Custom", but I'm concerned about the link tag when reading In the preview iframe that appears when you press Custom, check the final HTML link tag (for example, Google Chrome would have a menu similar to Show Frame Sources in the right-click menu, so you can check the final HTML from there). If Alternatively, if you are referring directly to screenshot.
-- Create https://wpdocs.osdn.jp/ Themestyle.css
in header.php
.get_stylesheet_uri()
or bloginfo('stylesheet_url')
identifies style.css
, it should look like this:<link rel="stylesheet" href="https://{domain name}/wp-content/themes/{original theme directory name}/style.css">
style.css
, you should see the following:<link rel="stylesheet" href="/wp-content/themes/{original theme directory name}/style.css">
578 Understanding How to Configure Google API Key
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
915 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.