Darryl Mitchell
asked 11 years ago

Hi

I downloaded your full width template from this question and it works great – http://designwall.com/question/can-i-do-a-full-width-page-in-dw-focus/

However, I am trying to create an “Advertise with us” page which requires an image which is the same width of the page.

After uploading the correct size/larger image to the page, for some reason it is being shrunk to 770 pixels wide. As if the sidebar is still there.

I have changed the functions.php file to this

$content_width ) )
$content_width = 855; in functions.php

and added this to style.css

 /* Images
-------------------------------------------------------------- */

#content img {
	margin: 0;
	height: auto;
	max-width: 640px;
}

However I still cannot get the image to stay to its original size.

Hope to hear from you soon.

1 Answers
DominicStaff
answered 11 years ago

Hello Darryl Mitchell !

You checked your way on our demo site. Please see the screenshot here for further information:http://imgur.com/2t4fext

To fix the issue, you can use our CSS code lines to replace for your code:

 

#content img {

    height: auto;

    margin: 0;

    max-width: 100%;

}

Hope this help !

Regards,
Dominic

Darryl Mitchell
replied 11 years ago

Worked perfectly, thank you so much!

Powered by DW Question & Answer Pro