Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 281
Total: 282

Author Topic: Adding border  (Read 3885 times)

0 Members and 1 Guest are viewing this topic.

Offline dimdom

  • Member
  • *
  • Posts: 21
    • View Profile
Adding border
« on: September 13, 2009, 03:07:39 pm »

How can I add a border (1px width #EDEDED for example) around every thumbnail?

It shouldnt be difficult, but i just dont know where to add the code...

Thanx in advance!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Adding border
« Reply #1 on: September 13, 2009, 06:05:16 pm »
Easiest way would probably put inside the style.css for your theme but it would do it to every image on the forum.


Do you just want it around the gallery category thumbnails?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline dimdom

  • Member
  • *
  • Posts: 21
    • View Profile
Re: Adding border
« Reply #2 on: September 14, 2009, 12:55:27 am »

I would like it to show on here: : http://www.authorway.com/SMF/index.php (center block, new in Gallery)

and around every image thumbnail generated from Gallery (albums, recent, categories, most viewed etc).

Thank you!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Adding border
« Reply #3 on: September 15, 2009, 07:31:08 am »
Easy way would be to search the Gallery.template.php
Find
Code: [Select]
$row['thumbfilename'], '"
Then add either your own class or add inline style code to create that affect
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3461 Views
Last post November 01, 2007, 05:10:25 am
by Mat @ SWS
11 Replies
6944 Views
Last post November 20, 2011, 09:28:14 pm
by Snuffy
3 Replies
3656 Views
Last post April 25, 2012, 07:55:02 am
by ApplianceJunk
2 Replies
3401 Views
Last post March 02, 2013, 03:18:53 pm
by RC Storick
0 Replies
3339 Views
Last post September 05, 2018, 04:45:32 pm
by shuban

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal