News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

How can I change forum width?

Started by hatmak, April 29, 2024, 10:16:02 PM

Previous topic - Next topic

hatmak

Hi all,

Since this is the feature of the theme I use, I wanted to increase the width of the forum container and make it snap to the edges. I tried using CSS, but I couldn't do it. Does anyone have any ideas on how I can do it? The picture is below.
Also, as seen in the second picture, changing some codes in the div.container section fixes it (such as increasing the 960px in the picture), but when I change them and add them to index.css, it does not update.I'm not sure if I'm doing it right.



Steve

#1
First, turn minified off.

Then change the 960px in the theme's index.css to 100%.

That's it. (Someone will correct me if I'm wrong.)

You can turn minified back on after this.
DO NOT pm me for support unless asked to!

Julius_2000

Quote from: hatmak on April 29, 2024, 10:16:02 PMAlso, as seen in the second picture, changing some codes in the div.container section fixes it (such as increasing the 960px in the picture), but when I change them and add them to index.css, it does not update.I'm not sure if I'm doing it right.
This is most likely because the media query is defined in the responsive.css of your theme. You would have to edit it there.

hatmak

Quote from: Julius_2000 on May 01, 2024, 02:01:23 PM
Quote from: hatmak on April 29, 2024, 10:16:02 PMAlso, as seen in the second picture, changing some codes in the div.container section fixes it (such as increasing the 960px in the picture), but when I change them and add them to index.css, it does not update.I'm not sure if I'm doing it right.
This is most likely because the media query is defined in the responsive.css of your theme. You would have to edit it there.

Oh, thank you. Fixed. I didn't know how to edit these css codes, but I did it thanks to you.^_^.

Steve

There is also this mod: https://custom.simplemachines.org/index.php?mod=4223

It works 99% of the time meaning a very occasional theme doesn't work with it.
DO NOT pm me for support unless asked to!

DarkAngel612

I got the mod and yes it worked sorta, it put my logo way up to the top , also the admin area has the gradient while the forum is solid...how to get rid of the graient I added a ~ to the file name on the server but no joy and No idea how to get the logo down lower



Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

Sir Osis of Liver

The mod should only add forum width setting to current theme.  If it did more than that, uninstall it.  Which theme are you using?
When in Emor, do as the Snamors.
                              - D. Lister

TwitchisMental

Quote from: DarkAngel612 on November 29, 2024, 07:07:11 PMI got the mod and yes it worked sorta, it put my logo way up to the top , also the admin area has the gradient while the forum is solid...how to get rid of the graient I added a ~ to the file name on the server but no joy and No idea how to get the logo down lower




That looks to be a Cripzone Theme. I would suggest getting further help on the support forum there.

https://www.jpr62.com/theme/index.php?action=forum

DarkAngel612

I guess I forgot to tell you that it is the Game X theme that I got at SMF forums, which is why I came in here to ask them.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

DarkAngel612

Quote from: Sir Osis of Liver on November 29, 2024, 07:39:55 PMThe mod should only add forum width setting to current theme.  If it did more than that, uninstall it.  Which theme are you using?

Sorry for the confusion. The mod works grand...it is the Game X theme that the image belongs to and that was prior to the mod.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

Advertisement: