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

When transfer wordpress from local to live, some extra spaces appear

Hello, I tried to upload online a wordpress site i developed locally and faced some problems, but tried again with the duplicator plugin. Seems right now that everything is pretty much working except some new paddings that appeared on the bottom of two pages... here http://tpelfh.esy.es/introduction and here aswell http://tpelfh.esy.es/synthese-biologique-acides-amines at the bottom after the continuer button

Where are these coming from, and should i just try to overwrite them with css ?

Thanks in advance

1 Answer

Hi there,

Did you use DesktopServer on your first attempt? I have had a few little issues deploying to live from there of late and and trying to work with them to fix it.

The padding issue is a strange one though my issues were all with text content not layout. I did spot the elements that are causing it but cant imagine these got there without you coding them.

I found a div with the class="afterwp" which contains a p tag and then a link to inithemes.com, this element falls directly after your button.

then the next thing causing it is the css on .container-wrap, .project-title they have padding bottom 40px;

To over ride all this just use css It is the simplest way really, display: none on the afterwp and remove the padding on .container-wrap, .project-title if that has not been added my yourself.

Hop this helps :)

Craig

Alright. On my first attempt i uploaded manually the files, and the db. But i dont understand why the css is being changed on the upload.. I could easily fix this one, but this site will expand, and i dont want other bugs to appear like this one. I might not even notice them if it makes a small difference