Jump to content

  •  

Staff applications open!

We are looking for dedicated members to join the Community Team to help enforce the community rules and make IV a better place for everyone.
Do you think you have what it takes to join? Apply here: http://invision-viru...f-applications/
IV Management

- - - - -

Sidebar is so big.


  • This topic is locked This topic is locked
5 replies to this topic

#1 Skull44

Skull44

    Fire Teh Project

  • Member
  • PipPipPip
  • 39 posts
  • LocationEarth

Posted 01 June 2019 - 04:45 AM

Describing the problem:
  • 1. What problem are you having? http://prntscr.com/nw3c8h - How do I make this sidebar smaller? I don't know what happened.. It was okay one day and the next day it got ruined. I forgot what I did. :(
  • 2. What were you doing when the problem occurred? No idea? I think my cookies and images reset, so it did this after I left off with the normal version
  • 3. Picture/Video of the problem: (an error code should be pasted here, please use "code" bbcode) http://prntscr.com/nw3c8h
Versions
  • 4. What version of IP.B are you using? Latest 4.4
  • 5. What PHP version are you running? 7.2
Required links:
  • 6. Who is your web hosting provider? - UnlimitedWebHosting
  • 7. What is your board URL?  http://arma-x.com
IP.B Package/Miscellaneous
  • 8. Where did you download the IP.B installation package? On this website
  • 9. What did you try to solve the problem? I looked at logs, but couldn't find :( I even googled. Please help.
  • 10. What username and password can we use to see the problem. Uhh.. PM me as it's personal.
Customization:
  • 11. Do you have any hooks/mods installed? yes but this isn't the issue. I did something by mistake and forgot to revert.. I can't figure it out
  • 12. Are you using a custom or default skin? Villian skin on Invision Virus website


#2 neptunus

neptunus

    Invision-Virus Nerd

  • Member
  • PipPipPipPipPip
  • 495 posts

Posted 01 June 2019 - 06:45 PM

I don't know, what exactly have changed, but there is currently
#ipsLayout_sidebar {
	flex: 0 0 315px;
	min-width: 0;
	max-width: none;
}
I recommend to change it to
#ipsLayout_sidebar {
	flex: 0 0 315px;
	min-width: 0;
	max-width: 315px;
}
or if that doesn't work, add also !Important after 315px, ie like this
#ipsLayout_sidebar {
	flex: 0 0 315px;
	min-width: 0;
	max-width: 315px !Important;
}


#3 Skull44

Skull44

    Fire Teh Project

  • Member
  • PipPipPip
  • 39 posts
  • LocationEarth

Posted 01 June 2019 - 08:46 PM

View Postneptunus, on 01 June 2019 - 06:45 PM, said:

I don't know, what exactly have changed, but there is currently
#ipsLayout_sidebar {
flex: 0 0 315px;
min-width: 0;
max-width: none;
}
I recommend to change it to
#ipsLayout_sidebar {
flex: 0 0 315px;
min-width: 0;
max-width: 315px;
}
or if that doesn't work, add also !Important after 315px, ie like this
#ipsLayout_sidebar {
flex: 0 0 315px;
min-width: 0;
max-width: 315px !Important;
}

Hey man, where do I put this?

#4 neptunus

neptunus

    Invision-Virus Nerd

  • Member
  • PipPipPipPipPip
  • 495 posts

Posted 02 June 2019 - 02:29 AM

View PostSkull44, on 01 June 2019 - 08:46 PM, said:

Hey man, where do I put this?
Admin CP => Customization => Themes => (select theme) => Edit HTML and CSS (click on </>) => if tables opens select CSS => find custom.css (core => font => custom ...) => there You see something similar
/**
* This file is for your custom CSS.
* This file is not modified or overwritten during upgrades
*/
Input it there (here is example)
/**
* This file is for your custom CSS.
* This file is not modified or overwritten during upgrades
*/
/* Sidebar Custom width */
#ipsLayout_sidebar {
flex: 0 0 315px;
min-width: 0;
max-width: 315px !Important;
}
Then click Save and if everything was done as should, Your sidebar should be also OK, ie normal with width 315px.
If You think it should be wider, change this number larger. I recommended this width, because there was before definied max-width equal to 315px.

Edited by neptunus, 02 June 2019 - 02:34 AM.


#5 Skull44

Skull44

    Fire Teh Project

  • Member
  • PipPipPip
  • 39 posts
  • LocationEarth

Posted 07 June 2019 - 10:24 PM

Hi,

Thank you, this has worked!

Mod can close this now.

#6 Robinson

Robinson

    Community Team

  • Community Team Leadership
  • 367 posts
  • LocationIV Strip Club

Posted 07 June 2019 - 10:51 PM

Closed per OP Request.

Do not PM me or any Staff member with support related questions

| Community Rules | News | License FAQ | License Reset | Join Discord | Donator Info |

  

           Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users