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 Wed Jun 19, 2013 5:54 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Mar 21, 2012 10:30 am 
Offline

Joined: Wed Mar 21, 2012 10:20 am
Posts: 2
Hi All,

I'm developing a website for my band using xsite pro and got to the stage of uploading it to a test server, but having a real problem with the background image wanting to loop.

I've tried inserting the following code in the global scripts head section, but it doesn't seem to be making a difference

Code:
<style>

td.xsp_main_panel { background-repeat: no-repeat; }

</style>


Any ideas on how to solve this? It's only really visible when full sized on larger screens but it's still an annoying quick and makes the site look a lot less professional then I'd like.

The URL for the test page is http://sirius.servers.eqx.misp.co.uk/~lipstick/Gigs.html.

Thanks in advance.


Top
 Profile  
 
PostPosted: Wed Mar 21, 2012 12:39 pm 
Offline
User avatar

Joined: Sat Aug 30, 2008 7:22 pm
Posts: 1890
Location: The road less traveled...
You can combine your 3 separate scripts into one script (see below).

One of the quirks in XSite Pro is that it prefers a plain <style> tag as opposed to <style type="text/css">.

Also, make sure that the case of your added script is exactly the same as is used in the xsp_styles.css.
In this case, it is TD.XSP_MAIN_PANEL.
Code:
<style>

img {  border-style: none; }

a:link {text-decoration:none;color: #3B5998;}     

a:visited {text-decoration:none;color: #3B5998;}

a:hover {text-decoration:none;color: #3B5998;}     

a:active {text-decoration:none;color: #3B5998;}     

TD.XSP_MAIN_PANEL { background-repeat: no-repeat; }    /* I changed the case to match xsp_styles.css */

</style>

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


Top
 Profile  
 
PostPosted: Wed Mar 21, 2012 1:20 pm 
Offline

Joined: Wed Mar 21, 2012 10:20 am
Posts: 2
Hi CopyWolf,

Thanks for the help and the quick reply.

I amalgamated the 3 scripts as you suggested and switched the case on the "td.xsp_main_panel" command over to all caps (TD.XSP_MAIN_PANEL) but still seemed to be having the same problem

After a quick route around with Chrome's "inspect element" though and it appears the offending element was XSP_CENTER_PANEL, so adding a line in the scripts header section saying not to wrap the background on that as well seems to have done the trick. Hope this helps anyone else having a similar problem!

Cheers


Top
 Profile  
 
PostPosted: Wed Mar 21, 2012 1:32 pm 
Offline
User avatar

Joined: Sat Aug 30, 2008 7:22 pm
Posts: 1890
Location: The road less traveled...
It's good to learn you figured it out.

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


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: Bing [Bot] 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:  
Powered by phpBB® Forum Software © phpBB Group