Viewing 9 replies - 1 through 9 (of 9 total)
  • How so? Just style the p’s. And why wrap it in an H1?

    Thread Starter discomonkey

    (@discomonkey)

    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??

    404 on the server

    Thread Starter discomonkey

    (@discomonkey)

    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.

    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() ?>

    Thread Starter discomonkey

    (@discomonkey)

    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

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

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Modifying content output?’ is closed to new replies.