Can't find the source of a page error

This topic contains 2 replies, has 2 voices, and was last updated by  nena3001 1 week, 4 days ago.

Author Posts

nena3001

Hello Sebastian,

I made some changes to this page and now I’m getting an error only on certain listings.
I’ve narrowed it down to the some extra lines of code (pasted below) that are being added to those with the error.

<b>
<div class=”col-sm-3 section-footer”>
……………….
</b>
The issue being the b
I’m not sure how to go about undoing or fixing this.
I’d appreciate any help or suggestions.
Page: https://blackoutdooradventurers.com/sidebar-search-layout-tour/?taxonomy%5Bst_tour_type%5D=176&taxonomy%5Bst_tour_type%5D=171

Thanks


Sebastian

Hey,

It’s not valid HTML to put a block element (e.g. div) inside an inline element (e.g. b).

The main reason for the issue isn’t the invalid use of a div tag inside a b tag however. You’ve used that on all the listings as far as I can tell. But you’ve used it in a different place on the broken listings. And so the col-sm-3 section-footer class on the child div creates an unusual layout.

So you need to remove the b from whatever system you use to create the listings, rather than try to fix this with CSS.

I hope that helps!


nena3001

ok Thanks!

You must login or register to reply to this topic.