article tag adding extra space regardless of margin and padding
-
When I run get_template_part(‘content’, ‘page’) in the while(have_posts) loop in the page.php template, it prints an <article> tag that adds a bunch of space above it, including above a floated element next to it. Margin and padding are 0. Nothing I do fixes it, and I’m not sure how to print another tag instead of article, as it’s auto-generated.
Can anybody explain this?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘article tag adding extra space regardless of margin and padding’ is closed to new replies.