[resolved] Problem: 'page' and 'single post' layout (3 posts)

  1. Nicole
    Posted 3 years ago #

    I'm having a problem which I don't know how to search for on the forum, because I have no idea what kind of key words to use. I've tried searching for it, to no avail. I hope anyone can help me, because I'm completely stuck.

    With some help I've managed to create a template of my own. I'm not too advanced in wordpress and all the coding, but at least I got it to work somewhat properly.

    I'm testing it locally so I haven't got a link to show the entire page. I made some screen shots.

    Check out the links I posted below:


    Single Post

    The first link is the home page. As you can see there is a gap between the menu (green bar) and the content (in white).

    The second link is when you click on a post and you go to the single post page. As you can see the content area is overlapping the menu area.

    Any idea how I fix this? CSS or non-CSS?

  2. paulwpxp
    Font hero
    Posted 3 years ago #

    In your CSS, look at the active state of menu li a ( same place where you assign the background color to be yellow ), see to it that padding or line-height be the same with normal state one.

  3. Nicole
    Posted 3 years ago #

    Hey, thanks! I couldn't find li active, but I did find the menu li and added the height. And guess what? It works! :D

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.