Jump to content

Changing the sidebar width


BankFodder

Recommended Posts

I'd like to have a bit of control over the width of the sidebar. I find that there disproportionately large – especially if you are in a fixed width.

I've looked around but they don't seem to be any plug-ins that can do this. I can imagine that it could be a question of tweaking the code.

Anyone got any idea about this please?

Link to comment
Share on other sites

If you want to change the size everywhere except for Downloads, make that change as before but then add another one:

body[data-pageapp="downloads"][data=pagelocation="front"][data-pagemodule="downloads"][data-pagecontroller="browse"] #ipsLayout_sidebar {
    min-width: 315px;
    max-width: 315px;
}

That should affect only the front page of Downloads. If you want it to have the same effect on others (such as when you're looking at a category of a file), remove the bit about [data-pagecontroller="browse"].

Link to comment
Share on other sites

  • 2 months later...
On 3/13/2019 at 8:45 PM, Meddysong said:

Yes, you're correct, it's a simple code fix. All you need to do is write the following in your custom CSS:


#ipsLayout_sidebar {
    min-width: 315px;
    max-width: 315px;
}

changing the values to whatever suits you. (315px is what they currently are.)

Cannot find it in latest version 4.4.3

Where is it?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...