I am having trouble finding where to change the Pages: [1] 2 3 4 on the post page.
At the moment they are the same colour as the background so the users can't see them.
Does anyone know which file to edit for this?
Thank you.
What SMF version are you using?
on 2.0 and the default curve theme the pagination is controlled by a div with a class="pagelinks" so all you have to do is go to your theme's css file and find that class and adapt it to your needs
It's version 1.1.4
You can see what I mean here: cr17 dot com/index.php/board,1.0.html
and
cr17 dot com/index.php/topic,32256.0.html
The second one has black text which I want to change so the user can see it.
Have a look at style.css for the theme your using.
I don't have the pagelinks class in my themes style or the default style.
I'm using version 1.1.4
Is that normal?
In style.css look for line 283, '.middletext' and add the below line to it, replace DEDEDE with whatever colour code you need. Please be aware that this will change other text, not just the page numbers.
color: #DEDEDE;
Wont work. Read this: http://www.simplemachines.org/community/index.php?topic=432280.msg3032203#msg3032203
Lainaus käyttäjältä: Antechinus - lokakuu 06, 2011, 06:41:57 AP
Wont work. Read this: http://www.simplemachines.org/community/index.php?topic=432280.msg3032203#msg3032203
I am trying to follow: http://www.simplemachines.org/community/index.php?topic=432280.msg3032203#msg3032203 but I don't have that code in display.template.
My code is this from version 1.1.4:
// Show the page index... "Pages: [1]".
echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="margin-bottom: 1ex;">
<tr>
<td align="left" class="catbg" width="100%" height="35">
<table cellpadding="3" cellspacing="0" width="100%">
<tr>
<td>
<b>', $txt[139], ':</b> ', $context['page_index'];How can I do it with just this code?
You have to change the code. It's custom code. That's why I put it in my post. ;)
Lainaus käyttäjältä: Antechinus - lokakuu 11, 2011, 06:53:34 IP
You have to change the code. It's custom code. That's why I put it in my post. ;)
I'm not sure which exact bit of code to change as when I replace the code I quoted above, it throws up errors.
Also, the changes affect the page navigation at the top, but the bottom is left unchanged. What do I need to edit to do the same at the bottom?
Thanks :)
Can help me with this when you see it :)