Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
That’s right, you need to move it outside of any parent elements that have constraining widths.
Yeah, that’s what I did for the header section, but it’s proving to be trickier with the content section. The recent-news section is a template part that I’m calling in index.php. So, I just got it to change by getting it outside the parent element, but it seems to mess with the overall alignment of the template part for some reason.
Alas, I’ve got it! Actually, it was just that (getting it out of the parent element). Though I also had to echo a div with my class around the call to the template part. I guess it makes a difference to echo the div where I want it as opposed to writing it in the template file. Weird!
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Instead of moving it, try closing off <div>
s before it and opening <divs>
after it.
I think you need to close off 3 <divs>
before it and re-open 3 more, some of which have particular ids/ classes.
Edit: Nevermind, glad you resolved it.
Oh, I think you’re right about that too. I think I did that for the header section at some point and time.