Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: RainbowKid - maaliskuu 02, 2014, 12:14:51 AP

Otsikko: Forum looks cutted
Kirjoitti: RainbowKid - maaliskuu 02, 2014, 12:14:51 AP
Hello guys. I'm pretty new here, and I'm not used to this place, so, sorry if I do anything wrong

I'll go straight to the point: Some friends and me have just started to do a gaming webpage, which will of course include a forum section :P. Since days ago, before getting invited to develop this page, the "welcome!" pages were already done, so, after installing SSF, I had to link a lot of stuff between pages, including HTML and CSS code.
I'm not bad at PHP, all of what I've done from that side yet, seems to work fine so far, but I'm not that good at HTML and CSS... and I think, I touched something I shouldn't had to:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftrox.binary-division.com%2Fprivate%2Fdcbug.png&hash=5d1d2de46e3ee7c631aac3940bc3a397067383a6)

For some reason, it cuts part of the forum's left side, and I have absolutely no clue what could be wrong... The only thing I touched from CSS are the color settings, and imported the definitions made from before the forum was installed (it simply deals with the background image and some text colors).

I don't know how could I even debug this, so, may you tell me where I possible broke it?

Thanks.
Otsikko: Re: Forum looks cutted
Kirjoitti: emanuele - maaliskuu 02, 2014, 08:28:31 AP
Guessing I'd say you added a <div> somewhere after the menu... locate it from an image is difficult though.
Otsikko: Re: Forum looks cutted
Kirjoitti: RainbowKid - maaliskuu 02, 2014, 01:23:33 IP
By checking the CSS code, we found the deformation's problem into the CSS code, and we fixed it, although there's still a little part that gets cutted off; right before the category's title

Lainaus käyttäjältä: emanuele - maaliskuu 02, 2014, 08:28:31 AP
locate it from an image is difficult though.

link here...
* removed because page isn't even near to be finished *
Otsikko: Re: Forum looks cutted
Kirjoitti: Diego Andrés - maaliskuu 02, 2014, 01:46:29 IP
You mean this? http://i.imgur.com/CwvBCEb.png
Otsikko: Re: Forum looks cutted
Kirjoitti: RainbowKid - maaliskuu 02, 2014, 01:47:34 IP
Yes, that is
Otsikko: Re: Forum looks cutted
Kirjoitti: Diego Andrés - maaliskuu 02, 2014, 01:52:05 IP
Lainaus käyttäjältä: RainbowKid - maaliskuu 02, 2014, 01:47:34 IP
Yes, that is

In the index.css file search:
/* background: #000000 url(../images/theme/main_block.png) no-repeat 0 -160px; */
background-image: url('../images/text_background.gif');


And replace with
background: #000000 url(../images/theme/main_block.png) no-repeat 0 -160px;
Otsikko: Re: Forum looks cutted
Kirjoitti: RainbowKid - maaliskuu 02, 2014, 01:58:39 IP
Thanks a lot!! it works fine now =D

Now I'll just have to upload the changes to server and will be done