[SOLVED] Blog title moves is in different position on front page
1 Attachment(s)
When I view my front page, my blog title is in one position, but when I view any other page or post page, it is in the correct position. The difference is about 20 or 30 pxs but it really screws with my layout.
I have my blog title set with the following code. Code:
padding: 0; Thanks. |
1) go to the home page, use the browser 'view source' option and look at the code
2) copy it to a text file 3) do the smae for another page. 4) for the home page look at the LOGO area 5) for page 'B' do the same what do you find diffetent? |
On my front page, the blog title is given an H1 attribute, but on the other pages, its given an H2. Considering the headings aren't coded for any sort of positioning in my CSS inserts section, I'm not sure why this would cause them to move. I'm definitely not sure why its showing up as H1 in one section and H2 in another.
There are also some differences in the head code between the two pages. The other pages have this in the header, which is not present on the front page- Code:
<link rel="alternate" type="application/rss+xml" title="Deb's Losing It! » Photos & About Me Comments Feed" href="http://debslosingit.com/photos-about-me/feed/" /> Code:
<link rel='stylesheet' id='boxes-css' href='http://debslosingit.com/wp-content/plugins/wordpress-seo/css/adminbar.css?ver=3.5.1' type='text/css' media='all' /> |
On multi post pages the blog title is an H1 for SEO reasons and on single post pages or page pages it is an H2 and the post or page title is the H1.
You probably have different CSS sopping to H1's ves H2's |
Okay, I understand that. But why is it moving in position? How do I fix that?
|
I assume that the different CSS for H1 vrs H2 in relation to the other CSS is causing it.
|
Not sure what you meant to say there- auto correct? But I just realized I had margins set on my headings CSS, and that fixed it. Why I had margins on there I have no idea.
Thanks for the kick in the right direction! |
I just made another small donation to you guys. Most of the time I figure it out after I've asked for help, but I really do appreciate what you do- often you point me in the right direction so I can sort it out on my own. :o
|
All times are GMT -6. The time now is 01:24 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.