Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 07:11 pm EST
Geeklog Forums
Previous 1 2 3 4 Next
Anonymous
Anonymous
How can I change the font size used for this part of the portal?
Thanks
3
4
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hmm, you can't really. It uses the standard font size.
I guess it would make sense to wrap the page navigation in a paragraph or a div so that you can format it in CSS. Currently, however, you have to hack function COM_printPageNavigation() in lib-common.php if you want to change the look of the page navigation.
bye, Dirk
4
4
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Here's what I just added in CVS (i.e. it will be part of Geeklog 1.3.6):
At the end of function COM_printPageNavigation(), just above the return $retval; statement, add these lines:
if (!empty ($retval)) {
$retval = '<div class="pagenav">' . $retval . '</div>';
}
This will wrap the page navigation in a <div> which can then be formatted using CSS, e.g.
.pagenav {
text-align: center;
}
.pagenav b {
font-weight: normal;
}
bye, Dirk
2
4
Quote
All times are EST. The time is now 07:11 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content