Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Results Pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-30-2008, 03:55 PM
  PengHead007's Avatar 
PengHead007 PengHead007 is offline
 

Member
  
Join Date: Dec 2007
Location: Virginia Beach
Posts: 23
 

Default Results Pages

Hi,
My results pages are at the top of the page like they are supposed to be but they are also in the far right column (covering up the "Your Cart" block). I'm guessing these results are supposed to be at the bottom of the page. I can't figure out where the problem is. Can someone point me in the right direction?

I've turned on webmaster mode but that hasn't helped.

Note: We sell lingerie so if you're offended don't click ...
http://www.golingerie.com/home.php?shopkey=1234&cat=2
__________________
X-cart Gold v4.1.9

Thanks,
PengHead007
Reply With Quote
  #2  
Old 03-30-2008, 04:21 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Results Pages

hi PengHead,

It appears your rounded corners are affecting your layout. The offending css appears to be this in your skin1/skin1.css file (and locate the class .xrounded)...

.xrounded {
background: transparent;
width:100%; /*Adjust the width here*/
float:left;
margin:0 0 15px 0;
line-height:125%;
}

Removing the float:left; might help so it ends up like this...

.xrounded {
background: transparent;
width:100%; /*Adjust the width here*/
margin:0 0 15px 0;
line-height:125%;
}

Hope this helps.
__________________
Doms
kube v4.1.9
Reply With Quote
  #3  
Old 03-30-2008, 04:29 PM
  PengHead007's Avatar 
PengHead007 PengHead007 is offline
 

Member
  
Join Date: Dec 2007
Location: Virginia Beach
Posts: 23
 

Default Re: Results Pages

That did it. Thanks very much!! I would not have figured that out. At least not for a few days.

Thanks again!
__________________
X-cart Gold v4.1.9

Thanks,
PengHead007
Reply With Quote
  #4  
Old 03-30-2008, 04:56 PM
 
annoyed annoyed is offline
 

Advanced Member
  
Join Date: Apr 2007
Location: Vic Aust
Posts: 68
 

Default Re: Results Pages

On a side note to this I suffered the same problem a while back and through the post below asked for any solutions however none came forward.
http://forum.x-cart.com/showthread.php?t=37531

My solution was different to that listed here. In fact I still have the "float:left" listed in my CSS.

I found that one of my tpl files (I believe it was dialog.tpl but I could be mistaken because it's been a while and I've changed many things since) had a rouge navigation.tpl include statement. Whether it got there as a result of not follwoing the rounded box code exactly or by some other little gremlin I'm not sure but once removed the page layouts went back to normal.

So any one suffering the above problem that tries the "float:left" solution and doesn't fix the problem hunt for rouge naviagtion.tpl include statements
__________________
4.1.9 - 4.2.1
various add ons
various sites
Reply With Quote
  #5  
Old 03-30-2008, 05:28 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Results Pages

I agree Annoyed, the code did look like it had a rogue element about it which didn't quite look right but the tables were well-formed, and you can only do with what you are presented with.

Penghead please make sure everything is displaying fine - just to be on the safe side.

Is there a mod somewhere on the forum with rounded corners using <b> bold tags? How did this get about?

<b class="xbottom"><b class="xb4"></b><b class="xb3"></b>
<b class="xb2"></b><b class="xb1"></b></b>
__________________
Doms
kube v4.1.9
Reply With Quote
  #6  
Old 03-30-2008, 05:54 PM
 
annoyed annoyed is offline
 

Advanced Member
  
Join Date: Apr 2007
Location: Vic Aust
Posts: 68
 

Default Re: Results Pages

The mod which both myself and Peng have used (as have many others by the look of it) is here
http://forum.x-cart.com/showthread.php?t=33828

Although I also believe there is another thread in these forums for making rounded boxes that use images not just CSS
__________________
4.1.9 - 4.2.1
various add ons
various sites
Reply With Quote
  #7  
Old 03-30-2008, 06:16 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Results Pages

Yup, cheers Annoyed. I was looking through it just a moment ago. I'd suggest using div's (or span's) instead of <b> tags... It's okay for now I suppose but I would say, in future, google or some form of validation service would fail that.

Even Nicholls of cssplay doesn't appear to be using the b tag for formatting? (from whom which the poster appears to credit)

Or is it me?... Most likely ;D
__________________
Doms
kube v4.1.9
Reply With Quote
  #8  
Old 03-30-2008, 06:40 PM
 
annoyed annoyed is offline
 

Advanced Member
  
Join Date: Apr 2007
Location: Vic Aust
Posts: 68
 

Default Re: Results Pages

Kube. You're probably right about the validation errors but until computers get smart enough to know exactly what we want which removes the need for any navigation on sites or my client site that uses these boxes bothers to pay for an update the coding as it stands will suffice.
Unfortunately at the moment my crystal ball says bet on the first one happening because the odds of the second one are just too large.
__________________
4.1.9 - 4.2.1
various add ons
various sites
Reply With Quote
  #9  
Old 03-30-2008, 06:58 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Results Pages

Quote:
Originally Posted by annoyed
Unfortunately at the moment my crystal ball says bet on the first one happening because the odds of the second one are just too large.

<b><b>A very bold statement</b></b>

hehe ;D

You're most likely right.
__________________
Doms
kube v4.1.9
Reply With Quote
  #10  
Old 03-30-2008, 09:20 PM
 
annoyed annoyed is offline
 

Advanced Member
  
Join Date: Apr 2007
Location: Vic Aust
Posts: 68
 

Default Re: Results Pages

Kube.
While I had no doubts that your comments about the <b> tags were in fact correct, inclination and lack of response from a website owner was holding me back doing anything about them on the live site.
For anyone else insterested I have just implemented Kube's suggested span changes to the dev server and there is no ill effects.
Don't know how many times I've looked at those <b> tags in the past and not bothered to change them but at least I know it wont happen again.
Thanks Kube I've actually achieved something today, what a way to start a week.
__________________
4.1.9 - 4.2.1
various add ons
various sites
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:51 PM.

   

 
X-Cart forums © 2001-2020