Viewing 9 replies - 1 through 9 (of 9 total)
  • What do you mean by border? The line around a page?

    It may be possible with css (position:absolute) and some custom code.

    Thread Starter Troy4444

    (@troy4444)

    not really the line around the page,
    but specifically the ‘border’ area above the ‘header’ logo and tagline.
    I do filemaker development and I’m just starting at this wordpress thing..
    could you give me an example of what some of that (position:absolute) and some custom code would look like and where it would go?
    I’d like to put a couple lines of text and be able to color the background and the text as well… some ‘grey’ SEO if you will…. FYI

    I appreciate your help,
    Troy-

    Well, in order position the text correctly, the div that all of your content is wrapped around needs to be set to position:relative in the css, it is usually called #wrapper.

    If you add the following code just under your wrapper div, likely to look like this: <div id=”wrapper”> in your header.php file:

    <div class=”top_text”>
    This is your text…
    </div>

    And then add the following code to your stylesheet/css:

    .top_text{
    position:absolute;
    top:0;
    left:0;
    background:#0099CC;
    color:#FFF
    padding:10px;
    }

    That will put a blue box at the top left of your site, but you can play around with the css to get it to look how you want.

    Hope this helps

    What do you mean by “grey SEO”?

    Thread Starter Troy4444

    (@troy4444)

    Thank you genusone for your help, I won’t get to trying it for a couple of days but wanted to say thank you.

    To WPyogi – well…. hold the laughter… I’m new to wordpress and also SEOing… one of our competitors sites always shows up well in searches so I started looking at their code. At the top of their page in the inch or two ‘border’ above the ‘header logo’ is a color background with text in it that is ALMOST the same color but not quite according to hex. The text in the ‘border’ is all keyword stuff.
    I am totally guessing that because the background is a different color than the text, the search engines accept it as valid and ‘log’ the keywords.
    (I’ve heard that if you have the exact same color background as the text then the robots ‘throw out the keywords’ and it doesn’t ‘count’ for SEO purposes.
    – I thought well if it’s working for them I should try it and see if my SERP changes.
    I do know that I could be totally wasting my time, BUT, just by going thru the process I am learning a lot of ancillary information and that’s what it’s all about.
    — opinion on the topic?

    Thread Starter Troy4444

    (@troy4444)

    genusone – thank you in advance for your help, I just need a little kick start and I’ll be on my way (ha!)
    I can find no “wrapper” in either the header.php or the .css files.
    Likewise I also checked for the text, <div in both files and none were found.

    I am working with a child of twenty eleven.
    I copied all files from the parent except for the function.php file and then changed the .css ‘header’ info to work as a child.
    I want to have the original code to be able to edit and not just ‘add’ the child code to override the parent.
    Am I off to a bad start?
    I’d like to have as much code as I can in my child files if possible.

    Thread Starter Troy4444

    (@troy4444)

    correction, no <div text was found in either file

    Thread Starter Troy4444

    (@troy4444)

    arg, it’s not taking the
    ampersand followed by lt;div

    Thread Starter Troy4444

    (@troy4444)

    there were 3 files that I did not copy over

    content-page.php
    style.css files
    function.php

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Text in border of page’ is closed to new replies.