Page 1 of 1

CGBlog - where are prev/next link code for styling?

Posted: Fri Feb 07, 2014 9:38 am
by rbaby
I would like to add a class to the <a> links for pagination (firstpage/previous page/last page/next page) etc., where can I find this line of code? In the templates, it only calls the $lang text.

Thank you!

Re: CGBlog - where are prev/next link code for styling?

Posted: Fri Feb 07, 2014 5:03 pm
by Dr.CSS
{if $pagecount > 1}
<p>
{if $pagenumber > 1}
{$firstpage}&nbsp;{$prevpage}&nbsp;
{/if}
{$pagetext}&nbsp;{$pagenumber}&nbsp;{$oftext}&nbsp;{$pagecount}
{if $pagenumber < $pagecount}
&nbsp;{$nextpage}&nbsp;{$lastpage}
{/if}
</p>
{/if}

Those tags come from the language file in the module, you may be able to put some spans around these tags with class calls to style as needed, make a copy and have fun...

Re: CGBlog - where are prev/next link code for styling?

Posted: Fri Feb 07, 2014 8:23 pm
by rbaby
Thank you, I did find that, I was hoping to get directly to the a tag so I didn't have to re-do all my styles but if that's the only way I can get around it.

Re: CGBlog - where are prev/next link code for styling?

Posted: Mon Feb 10, 2014 12:26 am
by Dr.CSS
You can do module_custom for the lang file so you can change them from > >> to an image or whatever, even wrap them...