XF 1.x Resources sidebar to the left.

Russ

Pixel Exit Staff
That's not an option at the moment, I'm away today but I can grab the CSS tomorrow for you.
 

Russ

Pixel Exit Staff
I don´t know why, but for me it is left in the RM and in the forum it is right.

View attachment 5860
Same with XF, that's not a traditional "sidebar".

@Xenfo

Code:
.resource_description .sidebar {
    float: left;
}
.resource_description .mainContent {
    margin-right: 0px;
    margin-left: {xen:calc 'intval(@sidebar.width) + intval(@xb_spacer_l)'}px;
}
.resource_description .mainContainer {
    float: right;
    margin-left: -{xen:calc 'intval(@sidebar.width) + intval(@xb_spacer_l)'}px;
    margin-right: 0;
}
This would be to target just the resource view sidebar.

Additionally I didn't even think about it but if you want to move ALL the sidebars to the left, just check Style Properties -> [XB] Sidebar.

Not sure why I was thinking this was a different type of sidebar.
 

Xenfo

Registered
Sorry about this Russ, which template to I copy this into, recently moved from vb and just getting to grips with it. Is it to replace code or to add to.
Thanks.
 

Russ

Pixel Exit Staff
Sorry about this Russ, which template to I copy this into, recently moved from vb and just getting to grips with it. Is it to replace code or to add to.
Thanks.
No worries and welcome, sorry sometimes I assume too much :D.

Any CSS we give you should always go inside extra.css unless told otherwise.
 

Xenfo

Registered
Actually to add to that post above, that has shifted over to the left in the categories but in the resources page list its still squished to the right.
 

Russ

Pixel Exit Staff
Just to clarify are you wanting to shift the sidebar when viewing the resource itself? I just double checked the code on another style and it shifts that sidebar to the left side using my CSS.
 

Russ

Pixel Exit Staff
So I forgot about this in Archon, I've made a note. I changed the setup just in Archon for the RM. Open : resource_list.css on the Archon (DO NOT EDIT) style, click revert on the template. It should shift it back.

I coded it so it was always on the right side because out of the box the default archon sidebar is on the left. It was an oversight on my part, will adjust for the next patch.
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.