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!
CGBlog - where are prev/next link code for styling?
Re: CGBlog - where are prev/next link code for styling?
{if $pagecount > 1}
<p>
{if $pagenumber > 1}
{$firstpage} {$prevpage}
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
{$nextpage} {$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...
<p>
{if $pagenumber > 1}
{$firstpage} {$prevpage}
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
{$nextpage} {$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?
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?
You can do module_custom for the lang file so you can change them from > >> to an image or whatever, even wrap them...