XSitePro Website Design Software Message Board

The online forum dedicated to XSitePro users. Get help with website design in general and using this popular and incredibly powerful website software
It is currently Thu May 23, 2013 11:09 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Page Margin Help!
PostPosted: Thu Jun 21, 2012 1:12 pm 
Offline

Joined: Sun Oct 30, 2011 7:43 pm
Posts: 50
First, I have read the manuals, watched videos, Googled, and searched but can't find the answer:

How do I make an image fill the entire background, Page Margin, of my site. Does it have to be a certain size before inserting> Can I make it tile to fill it? My image only fills the top section of my background, Page Margin. Again, can't find an answer to this anywhere.

Second, again can't find an answer, how to I set the width of the main page when there is no width selection in the page layout section. I can set the width of my panels in page layout, but not my main page (which i know is changed in web pages, designer, but still, how to I find the width of my main page. I know my header width is determined by the total widths of the main, left, and right panels, so I need the main panel width to be sure everything is jiving.

Thank you to anyone who answers this.

Cindy


Top
 Profile  
 
 Post subject: Re: Page Margin Help!
PostPosted: Fri Jun 22, 2012 1:20 pm 
Offline
User avatar

Joined: Sat Aug 30, 2008 7:22 pm
Posts: 1888
Location: The road less traveled...
Hi Cindy,

Are you wanting to use a single large image to fill the background of the website?

Or, do you want to a small image to repeat and fill the background?

_________________
XSitePro runs great on HostGator (WordPress does, too)
Image


Top
 Profile  
 
 Post subject: Re: Page Margin Help!
PostPosted: Sat Jun 23, 2012 10:54 am 
Offline

Joined: Sun Oct 30, 2011 7:43 pm
Posts: 50
a single large image filling the entire margin behind my site, content. How do I do that? Thanks!!!!!!!!!


Top
 Profile  
 
 Post subject: Re: Page Margin Help!
PostPosted: Sat Jun 23, 2012 11:46 am 
Offline
User avatar

Joined: Fri Feb 24, 2006 1:53 pm
Posts: 3448
Location: Vancouver, BC, Canada
There's no simple solution to this. I have done it, but, for it to work properly in Internet Explorer 9, it requires a DOCTYPE change in XSitePro and that affects other things about your site. And it won't work well in older versions of IE.

Here's a sample: http://www.ablewebs.com/clients/experiment/

You put the image in Page Layout > Page Margins > Background > Image, as usual. But then you need to add some CSS in Other > Global Scripts > HEAD section:
Code:
<style  type="text/css">

body {
   padding: 0;
        background-size:auto;
   background-attachment: fixed;
        background-size: cover;
}

</style>
In Other > Global Scripts > Before anything else in the file, add
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
You won't see the changes within XSitePro, you'll have to Preview or Publish the site. And expect other things to now work differently in XSitePro!

There's also an older method that sort of works in older browsers, but it's not as elegant.

_________________
Andrea Wilson

1. Custom XSitePro Templates. XSitePro Consulting and Training. FREE TIPS!

2. Off-the-Shelf XSitePro Templates! Versatile designs. Easy to manage and maintain!

3. AllWebMenus Pro and XSitePro Work Perfectly Together! NEW!

Image


Last edited by ablewebs on Tue Sep 04, 2012 12:00 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Page Margin Help!
PostPosted: Tue Sep 04, 2012 2:30 am 
Offline

Joined: Tue Sep 04, 2012 2:29 am
Posts: 3
Great thanks for the information, had a similar problem recently.

_________________
Effective SEO by NetPeak.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group