Jump to content

Welcome to IPB Focus
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

Changing index sidebar width

- - - - -

  • Please log in to reply
6 replies to this topic

#1
Ehren

Ehren
  • Root Admin
  • 9,903 posts
To change the width of the side column on the board index page, first go to Board Index > boardIndexTemplate and find:
ipsLayout_largeright

Change that to:
ipsLayout_indexRight

Next, add the following to ipb_styles.css:
.ipsLayout_indexRight.ipsLayout_withright { padding-right: 310px; }
.ipsLayout_indexRight.ipsLayout .ipsLayout_right { width: 300px; margin-right: -310px; }

Adjust the values accordingly, but the above numbers will make your side column 300 pixels wide. Make sure to clear your cache after saving the css. CTRL+F5 for windows, CMD+R for mac.
  • Impaler and Moeru like this

#2
Boboss Ikusa

Boboss Ikusa
  • Customers
  • 79 posts
Hello Ehren

I use this tuto for my website, all is fine, but when i try to use the Board Index Sidebar from ip nexus, my banner is never in middle of my block, is it normal ?

My default setting for advertisement alignement is on "center"

Attached Thumbnails

  • Capturesidebar.JPG


#3
Ehren

Ehren
  • Root Admin
  • 9,903 posts
I think that's because ads are wrapped inside a nexusAd class (something like that) which adds 10px padding.

#4
Boboss Ikusa

Boboss Ikusa
  • Customers
  • 79 posts

I think that's because ads are wrapped inside a nexusAd class (something like that) which adds 10px padding.



as always, you are the king ehren

/********************************************************/
/* Advertisements from Nexus */

.nexusad { padding: 10px; clear: both; }


my problem is resolved

#5
AlexJ

AlexJ
  • Customers
  • 45 posts
I can't find this in carbon blue skin global template... I am using 3.3.1.

Thanks!

#6
initialsHL

initialsHL
  • Customers
  • 1 posts
Nevermind, I used hugeright

#7
r5 turbo 2

r5 turbo 2
  • Customers
  • 30 posts

Perfect. Thanks






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users