Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
Recent Tutorials
Top posting users this month
Top Achievers
Who is online?
In total there are 20 users online :: 0 Registered, 0 Hidden and 20 Guests :: 1 Bot
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
Add Signature Resizing To Your Forum
Page 1 of 1 • Share
This tutorial will help you set up a Signature Resize for your forum using CSS. This prevents large images from stretching or otherwise breaking your forum.
Example: https://i.servimg.com/u/f72/18/45/41/65/ex11.jpg
Administration Panel > Display > Skins > Choose a theme > Version
Find General and look to Change version that will display your current version.
Administration Panel > Display > Pictures and Colors > Colors > CSS stylesheet
Paste this in your CSS if your forum version is phpbb2, phpbb3, or invision:
Paste this in your CSS if your forum version is punbb:
Once you have pasted the code in your CSS be sure to submit it to save the changes. If you've done the recent steps correctly your forum should now resize images larger than 500px width or 200px height. You can modify the size if you want images to be smaller or larger. Read Explanation for more information on the properties used in this tutorial.
max-height: Sets the maximum height for an element.
min-width: Sets the minimum width for an element.
min-height: Sets the minimum height for an element.
width: Sets the width for an element.
height: Sets the height for an element.
All properties above can be defined in px, cm, %, ect..
auto: The height and width are automatically set depending on the element contents.
inherit: The height and width are inherited from the parent element.
Using the above you can put together quite a unique signature resizer. You can also use :hover to increase the size when the mouse is hovered over the image. Thanks for reading and good luck with your forum!
Example: https://i.servimg.com/u/f72/18/45/41/65/ex11.jpg
Identifying Forum Version
First thing we need to do is find the CSS code for your forum version. Each version except bb2&3 have different selectors. To check your forum version navigate to..Administration Panel > Display > Skins > Choose a theme > Version
Find General and look to Change version that will display your current version.
Installing CSS
Now that you know your forum version we can install the resize CSS for your forum. Find the correct CSS code for your forum version and navigate to..Administration Panel > Display > Pictures and Colors > Colors > CSS stylesheet
Paste this in your CSS if your forum version is phpbb2, phpbb3, or invision:
- Code:
.signature_div img{
max-width:500px !important;
max-height:200px !important;
}
Paste this in your CSS if your forum version is punbb:
- Code:
.sig-content img{
max-width:500px !important;
max-height:200px !important;
}
Once you have pasted the code in your CSS be sure to submit it to save the changes. If you've done the recent steps correctly your forum should now resize images larger than 500px width or 200px height. You can modify the size if you want images to be smaller or larger. Read Explanation for more information on the properties used in this tutorial.
Explanation
max-width: Sets the maximum width for an element.max-height: Sets the maximum height for an element.
min-width: Sets the minimum width for an element.
min-height: Sets the minimum height for an element.
width: Sets the width for an element.
height: Sets the height for an element.
All properties above can be defined in px, cm, %, ect..
auto: The height and width are automatically set depending on the element contents.
inherit: The height and width are inherited from the parent element.
Using the above you can put together quite a unique signature resizer. You can also use :hover to increase the size when the mouse is hovered over the image. Thanks for reading and good luck with your forum!
Tutorial written by Ange Tuteur
- FrOsTyXiNew Member
- Gender :
Posts : 8
Points : 3532
Reputation : 2
Language : English
Browser : Forum Version :
Been looking for something like this for ages didnt know it was a simple CSS code! thank you!
- GuestGuest
What's the element involved for Edge in regards to this tuto? .signature_div img ?
- Sponsored content
Similar topics
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum