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: 282
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 291
Total: 291

Author Topic: SMF 2.1.4  (Read 5839 times)

0 Members and 1 Guest are viewing this topic.

Offline Anmer

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 106
    • View Profile
SMF 2.1.4
« on: July 17, 2023, 03:54:01 am »
Upgraded from 2.0.19 to 2.1.4.

Under 2.0.19 the Category Image was larger and the detail visible.  Under 2.1.4 the images are much smaller and not as clear.  Is this a fixed size?  See attached.

And as for Gallery Pro, I seem to have "lost" the Theme for the Category Name bar and background colour?

Offline Anmer

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 106
    • View Profile
Re: SMF 2.1.4
« Reply #1 on: July 18, 2023, 03:26:20 pm »
Just in case this message got missed.  About the image size?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SMF 2.1.4
« Reply #2 on: July 18, 2023, 11:53:46 pm »
That is changed in SMF 2.1 due to responsive themes.
This property in the index.css sets it

Code: [Select]
/* Prevent inputs and images overflowing */
img, input, select, textarea {
max-width: 100%;
}
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 Anmer

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 106
    • View Profile
Re: SMF 2.1.4
« Reply #3 on: July 21, 2023, 12:54:00 am »
Thanks.

When I set the max-width to 50%, the image appears smaller.

Above 100%, the image height displays higher but the width shows the same but with a scroll bar.  The area in which the image displays appears to have a fixed width?  That's using Chrome.

Using Firefox the enlarged image displays without a scroll bar but overlays the text.

Is there a way around this?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SMF 2.1.4
« Reply #4 on: July 21, 2023, 10:57:18 pm »
I believe you can change the scrollbars with adding overflow: hidden;
You can also play with removing the max-width property and see how it goes.

Code: [Select]
/* Prevent inputs and images overflowing */
img, input, select, textarea {
max-width: 100%;
overflow: hidden;
}
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 Anmer

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 106
    • View Profile
Re: SMF 2.1.4
« Reply #5 on: July 22, 2023, 02:57:39 am »
Thanks.

Removing the max-width property resolved it.
Like Like x 1 View List

 

+- 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