Smartest Computing: How to move sidebar from right to left... - Smartest Computing

Jump to content

Please, post all questions and comments unrelated to already existing topics in Readers questions and comments section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to move sidebar from right to left...

#1 User is offline   Broni Icon

  • Malware Annihilator
  • Group: Administrators
  • Age: 55
  • Posts: 18,978
  • Joined: 04-October 04
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:

Posted 09 November 2009 - 03:07 AM

ACP>Look & Feel>your_skin>Templates>Board Index>boardIndexTemplate

Find:

Quote

<div id='index_stats' class='right clearfix' <if test="sidebarclosed2:|:IPSCookie::get('hide_sidebar') == '1'">style='display: none'</if>>
<foreach loop="side_blocks:$side_blocks as $block">
{$block}
</foreach>
</div>
</if>


<div id='categories' class='<if test="nosidebar:|:IPSCookie::get('hide_sidebar') == '1' || !$this->templateVars['sidebar_enabled']">no_sidebar</if> clearfix'>


Change it to:

Quote

<div id='index_stats' class='left clearfix' <if test="sidebarclosed2:|:IPSCookie::get('hide_sidebar') == '1'">style='display: none'</if>>
<foreach loop="side_blocks:$side_blocks as $block">
{$block}
</foreach>
</div>
</if>


<div id='categories' class='<if test="nosidebar:|:IPSCookie::get('hide_sidebar') == '1' || !$this->templateVars['sidebar_enabled']">no_sidebar</if>right clearfix'>



Now, we need to move toggle button, which closes and opens sidebar, from the right to the left.

Go ACP>Look & Feel>your_skin>CSS tab>ipb_styles.css

Find:

.sidebar_toggle {
	text-align: right;	
	padding: 0px 3px;
	height: 20px;
	right: 15px;
	position: absolute;
	-moz-outline: 0;


and change position value from absolute to left.

#2 User is offline   .sin Icon

  • Member
  • Group: Members
  • Age: 19
  • Posts: 63
  • Joined: 08-November 09
  • Gender:Male
  • Location:Utah
  • Interests:Graphics, guitar, counter strike, skinning
  • OS:Windows Vista
  • Country:

Posted 09 November 2009 - 03:50 AM

Thanks for this, Broni, will come in handy im sure :)
Posted Image

My site: http://www.distilledpixels.net

Graphic Arts forum check it out ;)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users