• Resolved leepingpongpang

    (@leepingpongpang)


    Hey My Name is Lee.
    I am a YouTuber and an IT student.

    I’m creating a WordPress Powered site to release some content of mine but I’m having some trouble integrating WordPress into my pre-made website.

    After coding the php and style web pages I configures the index.php and the blog.php to become template files for wordpress. I installed everything without any problems.

    But when I created my two pages “Home” and “Blog,” only the homepage was working correctly with CSS.

    My Blog page displays all of the HTML, but does not display with the stylesheet. Any help would be amazing!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you using a static front page?

    Thread Starter leepingpongpang

    (@leepingpongpang)

    Yes I am.
    The front page loads the CSS fine
    but for some reason my “Blog” page using the template I titled “Blog” does not load the css correctly.

    While checking my console, the page is looking for the css in the page folder, ex:
    Page – Blog
    .com/blog/

    But I dont have a folder called “blog” since I made the page through wordpress.
    So I cant just place style.css in www/blog/

    Then your blog page will be using your theme’s index.php template file – not blog.php.

    Thread Starter leepingpongpang

    (@leepingpongpang)

    Why is that?
    And what can I do to make my Blog.php template work correctly?
    Because The home page works buts my blog page has no styling

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘CSS Problem With Custom Theme’ is closed to new replies.