Post by ianh » Mon Nov 07, 2011 1:45 am

Hi

My product page numbers look like this:-

Image

Would it be possible for someone to help me remedy this?

Thanks in advance :)
Last edited by ianh on Tue Nov 08, 2011 5:15 pm, edited 1 time in total.

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm


Post by uksitebuilder » Mon Nov 07, 2011 2:14 am

Get a mirror lol

Sorry poor joke.

That certainly is very weird

Are you using the default theme or custom theme ?

Looks like something (a vqmod maybe) has reversed the pagination output

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by ianh » Mon Nov 07, 2011 2:16 am

Hi

I'm using the gentle theme. Been absolutely fine until I encountered page 2. :) I've not (yet) used any vqmods myself (??)
Page order is fine in admin.

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm


Post by uksitebuilder » Mon Nov 07, 2011 2:17 am

Can you switch to the default theme to see if the same occurs.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by ianh » Mon Nov 07, 2011 2:20 am

tried that but I got a 'could not load template' message :-/ Odd.

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm


Post by uksitebuilder » Mon Nov 07, 2011 2:27 am

just reupload the default template from the OC download to fix

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by ianh » Mon Nov 07, 2011 2:28 am

okay, thanks :) It's all in order on page 2....just page 1 :-/

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm


Post by uksitebuilder » Mon Nov 07, 2011 2:33 am

Well it doesn't do that by default, hence me asking abut the default theme.

When you have checked that out and if you find it is fine with the default theme, then you should ping the theme developer to see how to fix their theme (if you haven't modified it of course)

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by JAY6390 » Mon Nov 07, 2011 2:35 am

Sounds like it could be css possibly in this theme that is floating that specific element off to the right. If you view source for the items, are they in order?

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by ianh » Mon Nov 07, 2011 2:52 am

I'm not sure whether this would help, but here is the code from firebug:-

Code: Select all

<div class="pagination">
<div class="links">
<b>1</b>
<a href="http://mydomain/product?page=2">2</a>
<a href="http://mydomain/product?page=2">></a>
<a href="http://mydomain/product?page=2">>|</a>
</div>
<div class="results">Showing 1 to 15 of 21 (2 Pages)</div>
</div>
</div>
----------------------------------------------------------

Code: Select all

.pagination {
    border-top: 1px solid #EEEEEE;
    display: inline-block;
    margin-bottom: 10px;
    padding-top: 8px;
    width: 100%;
}
.pagination .links {
    float: left;
}
.pagination .links a {
    border: 1px solid #EEEEEE;
    color: #A3A3A3;
    display: inline-block;
    padding: 4px 10px;
    text-decoration: none;
}
.pagination .links b {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #269BC6;
    color: #269BC6;
    display: inline-block;
    font-weight: normal;
    padding: 4px 10px;
    text-decoration: none;
}
.pagination .results {
    float: right;
    padding-top: 3px;

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm


Post by JAY6390 » Mon Nov 07, 2011 2:58 am

Hmm, well the html shows it's outputting correctly, which means it must be something in the CSS. I can't really see it from what you have shown, but it's definitely CSS that is the issue here

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by ianh » Mon Nov 07, 2011 4:11 am

Cheers. I'll try re-upping css :)

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm


Post by ianh » Mon Nov 07, 2011 7:01 pm

It looks fine with more pages, expect the current page highlights to the right. I wonder whether this ishow it's meant to be. I'll check with the developer. :-/

Image

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm


Post by JAY6390 » Mon Nov 07, 2011 7:42 pm

It's very unlikely to be honest. From the looks of it, something is making the current page float right where as the others are all floating left. How and why is a mystery. The css you have above looks fine from what I've read

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by ianh » Mon Nov 07, 2011 8:07 pm

Yes, you're right, I'm in denial, lol. I'll contact the themeforest. Cheers for your help :)

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm


Post by ianh » Tue Nov 08, 2011 11:23 am

Finally solved. This has eaten at my mind for the past couple of days. You were right, it was a css prob.

Solution was to add a float: none; to .pagination .links a {

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm


Post by JAY6390 » Tue Nov 08, 2011 6:44 pm

Cool, glad you got it fixed ian :)

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by nikito » Wed Aug 29, 2012 3:56 pm

Hi all,
I have exactly the same problem as ianh and mine is worse. The alignment of the pagination becomes 2 liner. Image and it only happens on page 1. The HTML source indicates it is everything wrong with the css and I have not edited anything on pagination in css.

I have tried ianh's method of adding the float:none; but it doesn't work on my theme. Mine is an edited theme from the default theme itself. I have already done a few tests on my site.

1) Uninstalled all extensions
2) Used the original default css from the original cart files.
3) Used the original default category.tpl and product.tpl files from the original cart files.

The result I get is the same outlook on the pagination except that it flies to the header section where the default cart has designed. Can I have some help on this please? My pagination script and everything is the same as ianh's.

New member

Posts

Joined
Tue Jul 31, 2012 9:33 am

Post by nikito » Mon Sep 10, 2012 12:24 pm

Resolved

New member

Posts

Joined
Tue Jul 31, 2012 9:33 am

Post by gartheman » Thu Oct 03, 2013 5:44 am

how did you fix it, i've a similar problem?

New member

Posts

Joined
Tue Feb 16, 2010 5:12 pm
Who is online

Users browsing this forum: No registered users and 7 guests