WordPress.org

Ready to get started?Download WordPress

Forums

Modifying content output? (9 posts)

  1. Beel
    Member
    Posted 10 years ago #

    How so? Just style the p's. And why wrap it in an H1?

  2. discomonkey
    Member
    Posted 10 years ago #

    hmmm, I'm not using the styles that they included, I got rid of them and built my own for the content.... but what you're sayin is that I can still edit the style in the CSS and get rid of that space??

  3. Root
    Member
    Posted 10 years ago #

    404 on the server

  4. discomonkey
    Member
    Posted 10 years ago #

  5. Beel
    Member
    Posted 10 years ago #

    Yes, the last time I checked, you had your content wrapped in H1 tags, I would lose that. What was left was wrapped in the p tag and you can style margins and padding in the css to replace the browser's default values.

  6. Anonymous
    Unregistered
    Posted 10 years ago #

    I figured it out now. what happens is when you generate content with <php the_content() ?>, a tag is thrown in around the content, what you saw was a php generated . That's why I couldn't figure out how to control the spacing until I styilzed the p with a .div p {} style in my CSS. What I was wondering is if you could take out the that is generated when you call <php the_excerpt() ?>

  7. discomonkey
    Member
    Posted 10 years ago #

    my php comments didn't make it.... here's a repost:
    I figured it out now. what happens is when you generate content with the php function the_content() or the_excerpt(), a tag is thrown in around the content, what you saw was a php generated <.p.> tag. That's why I couldn't figure out how to control the spacing until I styilzed the <.p.> with a .div p {} style in my CSS. What I was wondering is if you could take out the <.p.> that is generated when you call

  8. Root
    Member
    Posted 10 years ago #

    No need. The text content is going to be there anyway. Just style it in a neutral way like you want.

  9. Anonymous
    Unregistered
    Posted 10 years ago #

    You can remove the p tags but you have to hack the function files to do it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.