• I’m trying to put up a single static HTML web-page with as little use of WordPress design tools as possible.

    What I have done:
    1. Removed everything from ‘style.css’;
    2. Removed all widgets;
    3. Added a new page and pasted HTML code into text field.

    And there are still unwanted elements:
    – Page name on the page itself;
    – ‘Skip to content’ link;
    – ‘Edit’ link;
    – ‘Proudly powered by WordPress’;
    – The text is larger than it would be on an .html page opened in the same browser.

    Is there anything I can do to make the page look as clean as possible?
    Maybe WordPress isn’t the best solution for this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Jason King

    (@jasoncharlesstuartking)

    Correct, WordPress isn’t a tool for building static websites. You could find a simpler tool that’s meant for doing that. Or just write a single page of html, plus a stylesheet.

    But since you’ve got this far, share the url with us and we’ll see if what you need can be done – should be easy to remove those elements and change the font size.

    Thread Starter andrey.gvrd

    (@andreygvrd)

    Link

    I’ve gutted all the ‘*.php’ style pages along with ‘style.css’, but there’s still a ‘section’, ‘article’ and ‘header’ elements, which aren’t in the original ‘.html’ page.

    Actually the font size turned out not to be a problem.

    Jason King

    (@jasoncharlesstuartking)

    Not sure why you used WordPress in the first place, when you just want a single simple html page.

    I can’t tell where you’re going with this because there’s next to no code actually in place. What are you expecting it to look like when finished?

    Looking at what code exists, it’s just a mess and I don’t think you should carry on with it. Start again from scratch, using a more appropriate tool (quicker) or learn to code html (ideal but a big step).

    Having said that, I have seen some great single page websites built in WordPress, but they didn’t try to rip a theme to pieces, they simply chose a theme that’s intended for this purpose. See for example https://colorlib.com/wp/best-one-page-wordpress-themes/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hosting a minimal static HTML’ is closed to new replies.