Site logo

Archived topic

Element Spacing - Sidebar Widths - precision

3 replies · Started by Ondřej on November 22, 2015

Viewing posts 1–4 of 4

Hi,
this is only minor suggestion but maybe you could make Sidebar Widths setting adjustable more precisely than just by 5%.
I mean, now you can set it to 15%, 20%, 25%, etc. And I think it would be better if you could set it to 15%, 16%, 17%, etc. So by 1%. Or maybe even more precise by 0.1%

In other settings you use pixels so it's precise at it can be but I don't understand why in this setting the precision is limited to 5%.

Thanks.

Hi there,

GP uses the unsemantic grid system: http://unsemantic.com/

So we only have the percentages they offer.

That being said, there would be waaay too many options if we went far enough to include the percentage by 1% or 0.1%.

Of course, you can alter the CSS to be anything you like.

Say you have it set to 25%, your HTML would be:

grid-25 for the sidebar

grid-75 for the content

Which = 100%.

So you can alter that CSS like this:

.grid-25 {
    width: 25%; /* Change to whatever percentage you like */
}

.grid-75 {
    width: 75%; /* Just make sure the two of them equals 100 */
}

Ok, now I understand. Thanks for explanation :)

No problem :)

This archived topic is closed to new replies.