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

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

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

Post 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!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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...
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

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

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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...
Post Reply

Return to “Layout and Design (CSS & HTML)”