Hi Amatisus,
If you look at the source code of the two pages that aren’t working, you’ll see the body tag has a class applied called “category” (stylesheet line 504).
This class has a width:150px and a float:left applied to it which seems to be the problem, if you take those out the pages should look right, but you’ll need to be sure that class isn’t being used in other ares of your site.
Thread Starter
StuFu2
(@stufu2)
Thanks santosh!
I had a hard time deciphering that code and couldn’t get it to work. Mostly because I am unsure of what you mean by “the name of your custom post type”. Sorry, I’m still new to PHP and WordPress.
That link you provided was really intriguing though and I’ll be holding on to that for other modifications I may make to my navigation.
For this I decided to avoid the PHP route and use jQuery instead by inserting the div with the before and after methods:
http://api.jquery.com/before/
http://api.jquery.com/after/
Thanks again for the response!