SimplePortal

Customization => Themes and Graphics => Topic started by: Ian M on November 19, 2016, 02:49:16 AM

Title: Portal Left/Right Collapse Buttons Align To Left
Post by: Ian M on November 19, 2016, 02:49:16 AM
Please could someone point me in the direction where the code is for the alignment of the portal collapse buttons.

I'd like to align them to the left hand side rather than their current position on the right hand side, but I can't locate the code !!

Thanks in advance.
Title: Re: Portal Left/Right Collapse Buttons Align To Left
Post by: andy on November 21, 2016, 01:12:42 PM
I havent tried the following idea - just a guess about where to start. And maye there are topics about it if you have not searched the forum or looked with google.

It should be in one of the portal template files - I think this one but could be somewhere else:

Portal.template.php

Search the file using a text editor and 'collapse' -you will find instances of it for the side columns and later on for blocks. I found one that looks likely and uses float right. You will have to adjust that output so it comes before the block title output.

Good luck! Well, until the other guys (who know more) comment.
Title: Re: Portal Left/Right Collapse Buttons Align To Left
Post by: Ian M on November 21, 2016, 03:15:47 PM
Found it Andy thank you. Just needed a pointer where to look and it was indeed in the portal template files.

With only using the left hand blocks it makes sense to shift the collapse button over to that side.

Many thanks.
SimplePortal 2.3.7 © 2008-2021, SimplePortal