Positioning Content with HTML and CSS?

2 replies
I've cracked open a nifty little tip to help achive better onsite optimization and that is to have your bigger menus placed further down your code rather than at the top. It works like a charm as I've figured with other WP themes I own.

My current theme I'm playing with and tweaking has two top menu's

Pages
Categories
Content

I still wish to keep this structure but wish the code for the cateogry links to appear after my content.

Is this possible to do?
#content #css #html #positioning
  • Profile picture of the author SEO_Pro
    Yep this is possible.
    Just make sure you have an empty div with the exact size of your menu and then further down the code you can add your menu and have it absolute positioned up to the empty div you made.
    {{ DiscussionBoard.errors[1622271].message }}
    • Profile picture of the author Intrepreneur
      Originally Posted by SEO_Pro View Post

      Yep this is possible.
      Just make sure you have an empty div with the exact size of your menu and then further down the code you can add your menu and have it absolute positioned up to the empty div you made.
      Now this sounds very interesting, would it work even without an empty div, say a "header div" that contains my page menu's?
      {{ DiscussionBoard.errors[1623960].message }}

Trending Topics