Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

Paradise
Ecommerce Template Guru

USA
1602 Posts

Pre-sales questions only
(More Details...)

Posted - 01/18/2018 :  08:41:28  
Where can I find the page to edit how many page numbers are displayed?

[img]https://www.paradiseclothingco.com/images/tech/Screen%20Shot%202018-01-18%20at%208.37.10%20AM.png[/img]

Responsive Design Deals Ecomm Plus - ASP 6.8
www.paradiseclothingco.com

Andy
ECT Moderator

95440 Posts

Posted - 01/18/2018 :  08:43:18  
Hi Mark

There isn't a feature to limit the number of page numbers I'm afraid.

Andy

Please feel free to review / rate our software

Paradise
Ecommerce Template Guru

USA
1602 Posts

Pre-sales questions only
(More Details...)

Posted - 01/18/2018 :  09:13:45  
How about only Previous | Next on mobile pages?

Responsive Design Deals Ecomm Plus - ASP 6.8
www.paradiseclothingco.com

Andy
ECT Moderator

95440 Posts

Posted - 01/18/2018 :  09:24:27  
You can make them smaller for mobile views

div.pagenums{font-size:0.7em}

but there's not a way via the css to remove the numbers.

Andy

Please feel free to review / rate our software

Paradise
Ecommerce Template Guru

USA
1602 Posts

Pre-sales questions only
(More Details...)

Posted - 01/18/2018 :  09:29:13  
The problem is they get too small when the txt is smaller .... I don't mind edited a page if I knew where it was ....

Responsive Design Deals Ecomm Plus - ASP 6.8
www.paradiseclothingco.com

Andy
ECT Moderator

95440 Posts

Posted - 01/18/2018 :  09:36:04  
I think it's in incproductbody2.asp but it wouldn't be a simple edit.

Andy

Please feel free to review / rate our software

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 01/18/2018 :  12:27:31  
You can use a variation of this to style the page numbers without editing the incfundtions.asp file

div.pagenums{color:#fff;float:left;width:100%;margin:15px auto;padding:10px 0;text-align:center;}
div.pagenums a.ectlink{margin:35px 0;padding:5px 10px;line-height:40px;white-space:nowrap;color:#1a7cb7;border:1px solid #1a7cb7;border-radius:4px;font-size:14px;-webkit-box-shadow:0 2px 4px #c0c0c0;-moz-box-shadow:0 2px 4px #c0c0c0;box-shadow:0 2px 4px #c0c0c0;}
div.pagenums a.ectlink:hover{color:#e71b1f;border:1px solid #e71b1f;-webkit-box-shadow:inset 0 2px 4px #ccc;-moz-box-shadow:inset 0 2px 4px #ccc;box-shadow:inset 0 2px 4px #ccc;}
div.pagenums .currpage{color:#000;margin:5px;padding:5px 10px;border:1px solid #29425A;-moz-border-radius:6px;-webkit-border-radius:6px;-ms-border-radius:6px;-o-border-radius:6px;border-radius:6px;background-color:#ccc;cursor:no-drop;}
Otherwise, you want to find this in the incfunctions.asp file

function writepagebar(CurPage,iNumPages,sprev,snext,sLink,nofirstpage)
Dim i, sStr, startPage, endPage
startPage=vrmax(1,int(cdbl(CurPage)/10.0)*10)
endPage=vrmin(iNumPages,(int(cdbl(CurPage)/10.0)*10)+10)
if CurPage > 1 then
sStr=sLink & "1""><span class=""pagebarquo"" style=""font-family:Verdana;font-weight:bold"">«</span></a> " & sLink & CurPage-1 & """"&IIfVs(CurPage>2," rel=""prev""")&">"&sprev&"</a> | "
else
sStr="<span class=""pagebarquo"" style=""font-family:Verdana;font-weight:bold"">«</span> "&sprev&" | "
end if
for i=startPage to endPage
if i=CurPage then
sStr=sStr & "<span class=""currpage"">" & i & "</span> | "
else
sStr=sStr & sLink & i & """>"
if i=startPage AND i > 1 then sStr=sStr&"..."
sStr=sStr & i
if i=endPage AND i < iNumPages then sStr=sStr&"..."
sStr=sStr & "</a> | "
end if
next
if CurPage < iNumPages then
writepagebar=sStr & sLink & CurPage+1 & """ rel=""next"">"&snext&"</a> " & sLink & iNumPages & """><span class=""pagebarquo"" style=""font-family:Verdana;font-weight:bold"">»</span></a>"
else
writepagebar=sStr & " "&snext&" <span class=""pagebarquo"" style=""font-family:Verdana;font-weight:bold"">»</span>"
end if
if nofirstpage then writepagebar=replace(replace(writepagebar,"&pg=1""",""" rel=""start"""),"?pg=1""",""" rel=""start""")
end function
Of course, this would be overwritten with updates. If you go to the products.asp page on fromourheart.com, you will see the effect.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Paradise
Ecommerce Template Guru

USA
1602 Posts

Pre-sales questions only
(More Details...)

Posted - 01/18/2018 :  13:19:18  
Thanks Marshall ... working out Perfect!

Responsive Design Deals Ecomm Plus - ASP 6.8
www.paradiseclothingco.com

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 01/18/2018 :  18:53:04  
You are welcome. What I like about this solution is, if your are just using the CSS, you do not have to worry about it being overwritten. And you simply adjust the color, margins and padding to fit your needs. And the bigger button like numbers are easier to use on a mobile device.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.05 seconds. Snitz Forums 2000