WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Simple CSS Style Sheet (14 posts)

  1. BlueLaw
    Member
    Posted 7 years ago #

    Hi, I’m struggling to grasp some basics here with my style sheet, there’s a whole lot of information out there, too much.

    It’s in regards to this page:

    http://www.forgemastersfilms.com/index.php/news/

    Is it possible to edit my style sheet so that:

    • The font is size 12 Futura
    • There are no boarders to the left and above the text. I.E the text is pressed tight into the top left corner.

    All the other pages don’t matter; it’s only this page I’m bothered about. The idea is that I’m going to display this news through an iframe on another site, and be able to keep it regularly updated. Thanks in advance, WordPress has rocked my world.

  2. Doodlebee
    Member
    Posted 7 years ago #

    1) Change this:

    body {
    font-family: Tahoma,Arial,Georgia, Helvetica, Sans Serif;
    font-size: 65.5%;
    }

    to this:

    body {
    font-family: Futura, Tahoma,Arial,Georgia, Helvetica, Sans Serif;
    font-size: 12px;
    }

    (for the record, though - leaving it in % is betterthan using a fixed size...)

    2) remove the "border-bottom" from the header.

  3. Jeremy Clark
    Moderator
    Posted 7 years ago #

    Kind of hard to support a site that isn't there.

    This site is currently under development. But don't worry, there are lots of other webpages on the internet. Why not try a different one? This site should be up before the month is out. See you then!

  4. Doodlebee
    Member
    Posted 7 years ago #

    I believe that's what he's talking about - I think that's just "holder text"...

  5. Jeremy Clark
    Moderator
    Posted 7 years ago #

    Gotcha.

  6. BlueLaw
    Member
    Posted 7 years ago #

    OH NO! I'm so sorry about that test there, that's a maintenance plugin, it's excellent if you don't have it. I'll get rid of it. I think the principals still apply though....
    ok I'm taking it off.

  7. BlueLaw
    Member
    Posted 7 years ago #

    Hmm no, I’ve had a dabble with the code above. The issue is I downloaded a blank theme, so there really isn’t anything to change in the CSS – it’s blank.

    But also, look at the font on the page. That’s with the body code inserted into the stylesheet – it doesn’t look like size 12 to me, and it looks bold.

    How queer!i

  8. moshu
    Member
    Posted 7 years ago #

    It's not css - it is your code in the pages: the h2 tag is NOT closed after the title, only at the very end of the article. Check your source code to see it!

  9. BlueLaw
    Member
    Posted 7 years ago #

    Oh boy have I messed up this time... Is it possible that the h2 tag isn't closed because I deleted the title tag from somewhere. I've been around deleting parts of this blank theme like you wouldn't believe. Deleting parts to try and have nothing but some text in the top left corner.

    Have I gone too far?

    If anyone can point me in the right direction here. I'm happy to read stuff, but I couldnt find the right stuff to read...

  10. Leovenous
    Member
    Posted 7 years ago #

    I'm still foggy what your trying to do, yeah you have a partial h2 tag that should either be closed or not there at all. What does your loop look like?

  11. BlueLaw
    Member
    Posted 7 years ago #

    Yes sorry.

    I’ve not been very specific have I? This is the deal... I don’t want to use a full wordpress website, but I do want to have a “Latest News” section on my site that is managed by WordPress. I’m partially there, see:

    http://www.forgemastersfilms.com/test.html

    The news your looking at there is a WordPress page, viewed through a frame.

    Click on READ MORE and another WordPress page will pop up. In this way I will be able to manage my news section from anywhere I want.

    As a result though I need a theme that only has text, laid out nicely. No links and definitely no boarders. As you can see I’m getting there, but if you open one of the TEST boxes by clicking on “read more” the table is not centralized, it’s got a slight boarder to the right, how do I get rid of that? And the text does still not start at the very very top of the page.

    Any advice would be nice, but I’m breaking the back of it.

  12. Doodlebee
    Member
    Posted 7 years ago #

    Weird - the popup comes up, and all I see is text, no borders, centered table and the text starts at the top of the page.

    You and I are seeing two very different things.

    I'm using Firefox 2.0. Are you using IE? And have you cleared your cache?

  13. BlueLaw
    Member
    Posted 7 years ago #

    I like WordPress too much. I think what I'm gonna do is design a wordpress theme from scratch and that way use the layout I want. Thanks for all the posts, here's looking at you kid.

  14. Doodlebee
    Member
    Posted 7 years ago #

    I think what I'm gonna do is design a wordpress theme from scratch and that way use the layout I want.

    Excellent idea ;) It's always much easier to do what you want than to try to modify someone else's stuff. Good luck! :)

Topic Closed

This topic has been closed to new replies.

About this Topic