Latest topics
» Quick Reply Bug
by MiyakeDev Today at 00:34

» Adding text to reputation counter
by Ange Tuteur Yesterday at 17:19

» Forumactif Edge Web Page - Translations
by Ange Tuteur Yesterday at 17:15

» Forumactif Edge - Portuguese Translation (Brazilian)
by Ange Tuteur Yesterday at 16:24

» Forumactif Edge - Spanish Translation
by Ange Tuteur Yesterday at 16:24

» How do I add hover examine feature?
by dr.kran Yesterday at 06:18

» [GAME] Count to One Million!
by MiyakeDev Wed 22 Mar 2017, 20:59

» [THEME] Cosmic Sleek RED v1.1 - Phpbb3
by King Tue 21 Mar 2017, 12:39

» Forumactif Edge - Translations
by Ange Tuteur Mon 20 Mar 2017, 20:03

» [GAME] Post a random picture
by Ange Tuteur Mon 20 Mar 2017, 19:18

» Forumactif Edge - Greek Translation
by Ange Tuteur Mon 20 Mar 2017, 19:16

» IconSkouliki
by skouliki Mon 20 Mar 2017, 15:47

» Personal Rank Titles
by Harleen Mon 20 Mar 2017, 12:38

» Forum Actif Edge Skin Suggestion for Improvements
by Ange Tuteur Sun 19 Mar 2017, 21:36

» Colors Tab
by Ange Tuteur Sun 19 Mar 2017, 21:12

Recent Tutorials
Who is online?
In total there are 7 users online :: 1 Registered, 0 Hidden and 6 Guests :: 2 Bots

white

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

Add Signature Resizing To Your Forum

View previous topic View next topic Go down

avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4382
Points : 9029
Reputation : 2185
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Wed 21 Aug 2013, 15:56

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: http://i72.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! Wink


Tutorial written by Ange Tuteur
avatar
FrOsTyXi
New Member
Title :
Gender : Unspecified
Posts : 8
Points : 741
Reputation : 2
Language : English
Browser : Browser : Google Chrome Forum Version : Forum Version : punBB
Awards :
View all awards
View user profile

PostFrOsTyXi on Fri 17 Apr 2015, 08:21

Been looking for something like this for ages didnt know it was a simple CSS code! thank you!
avatar
Guest
Guest
View all awards

PostGuest on Wed 04 Jan 2017, 11:36

What's the element involved for Edge in regards to this tuto? .signature_div img ?
avatar
Spherical
New Member
Title :
Gender : Female
Posts : 3
Points : 32
Reputation : 0
Language : English - Dutch
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile

PostSpherical on Thu 23 Feb 2017, 13:32

So easy just with CSS.

Thank you Smile
avatar
Valoish
Graphic Designer
Title :
Gender : Female
Age : 20
Posts : 3507
Points : 4313
Reputation : 301
Location : NYC
Language : English, Russian, Hebrew
Browser : Browser : Opera Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.canvasforums.com https://twitter.com/https://twitter.com/Valoishx3

PostValoish on Thu 23 Feb 2017, 13:48

@Spherical wrote:So easy just with CSS.

Thank you Smile
Yup~ Forumotion's coding is pretty easy to edit when it comes to CSS :3

--------

"I was afraid. And my own insecurity crushed him." - Youku x Boku SS
avatar
Dr Jay

Title :
Power of Youth!
Gender : Male
Age : 27
Posts : 102
Points : 273
Reputation : 10
Location : Ohio, USA
Language : English (Native)
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile http://www.geekpolice.net

PostDr Jay on Thu 23 Feb 2017, 15:53

@Spherical wrote:So easy just with CSS.

Thank you Smile
You seem familiar... Have we met?

--------

~Dr Jay

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum