Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

stephanie harrison roberts
stephanie harrison roberts
1,713 Points

wordpress help needed to move elements side by side!

HI All, I'm trying to move the search box 'up' the page to sit alongside the top nav, but cant figure it out....the search function is a widget I've added to the righthand side bar, so the position on the right of the page is good I just cant seem to move it up? Anyone help? Below is the code and the site is luckysquirrel.co.uk, and if i out a negative value for the top margin the search function becomes covered by the top nav?! HELP!!

thank you in advance :)

@media only screen and (max-width: 1200px) .sidebar-primary { width: 300px; } .sidebar-primary { float: right; width: 300px; margin-top: 0px; }

1 Answer

Jonny Noble
Jonny Noble
11,165 Points

Hi Stephanie,

Did you manage to sort this out? If not would you be able to send me the code such as the PHP and HTML please?