Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: slnielsen on July 16, 2017, 11:03:09 AM

Title: Is it possible to change certain text size?
Post by: slnielsen on July 16, 2017, 11:03:09 AM
Hi.

Running a small machinist site here in Denmark.
Most of our users are middle aged men, or older. :)
I have searched for a way to get a "previous" and "next" button, when a topic exceeds the number of posts, and we get a second or third page page. Today we only have the numbers indicating the pages.

The mod I found was this : https://custom.simplemachines.org/mods/index.php?mod=2042
Figured I could exchange the .png images with a text image instead.
But the version is outdated, we are running 2.0.14.

Would it be possible to change the page numbers text to a bigger size font?
E.G. two or three times size?

Thx for any advice! :)

Forum adress : http://frylundsmaskinforum.dk

Br
Søren

Title: Re: Is it possible to change certain text size?
Post by: Deaks on July 16, 2017, 11:30:24 AM
that mod should in theory still work on 2.0.14, when you installed it did it give you any errors?
Title: Re: Is it possible to change certain text size?
Post by: slnielsen on July 16, 2017, 11:38:48 AM
I got the following messages, did not dare to install it completely. Chicken, yeah I know, but fairly new to this forum thingy. :)
Thx for you help!

Title: Re: Is it possible to change certain text size?
Post by: Deaks on July 16, 2017, 11:43:49 AM
tack, well it would be possible to make a manual change in your theme to increase the size of the links, give me a few hours to make sure i get it right (also going out for a meal :P)
Title: Re: Is it possible to change certain text size?
Post by: slnielsen on July 16, 2017, 11:45:20 AM
Wow, fast response! :) Thank you very much, enjoy your meal!
Title: Re: Is it possible to change certain text size?
Post by: Kindred on July 16, 2017, 12:13:48 PM
yep... those errors pretty much indicate that the mod will not install, at all...

Title: Re: Is it possible to change certain text size?
Post by: Deaks on July 16, 2017, 12:23:56 PM
ok so it seems its rather alot easier than I expected

in index.css look for

.pagelinks

around line 493

change that to say

.pagelinks, .pagelinks a

then before the } add font-size: 100%;

.pagelinks, .pagelinks a
{
padding: 0.6em 0 0.4em 0;
font-size: 100%;
}


then just change the 100% to size thats suited
Title: Re: Is it possible to change certain text size?
Post by: slnielsen on July 16, 2017, 01:23:20 PM
Thanks. Tried to change it in all the index.css files, we have 3 themes installed.
Unfortunatly it does nothing?

Here is a copy of my code.

Title: Re: Is it possible to change certain text size?
Post by: br360 on July 16, 2017, 01:26:04 PM
Do a hard refresh after (press ctrl and f5 keys at the same time)
Title: Re: Is it possible to change certain text size?
Post by: slnielsen on July 16, 2017, 01:28:18 PM
 :o :o :o

That did a difference! :D

Title: Re: Is it possible to change certain text size?
Post by: slnielsen on July 16, 2017, 01:50:28 PM
A million thanks to all contributors, very fast and knowledgeable replies.
What a great support!


Title: Re: Is it possible to change certain text size?
Post by: Steve on July 16, 2017, 02:54:12 PM
I'm not understanding why you need 'previous/next' buttons when they are built in.

Look to the right of the image.
Title: Re: Is it possible to change certain text size?
Post by: slnielsen on July 16, 2017, 03:07:52 PM
The button on the right changes topic ( at least on my forum?) , what I would like is a better way to change pages within a topic.
Does it make sense? English is not my primary language. :)
Title: Re: Is it possible to change certain text size?
Post by: Steve on July 16, 2017, 03:11:50 PM
Oh crap! You're right! Sorry about that.  :-[
Title: Re: Is it possible to change certain text size?
Post by: slnielsen on July 16, 2017, 03:16:10 PM
No problem. :)

Just an image to show how it looks now.
The mod mentioned in the first page would be sweet, it seems the << and >> is simple .png files, which could easily be replaced with another image. But maybe one day, this works sweet on my laptop. Not much difference on my android phone it seems. Will try to tweak it a bit more.