Jump to content

Recent Topic Hook 4.2


Recommended Posts

  • Administrators

Within IP.Board 4.x there is an option to increase the amount of topics shown in the recent topic block.  The issue I've had with it is this, it extends the size of the box pushing all other items down.  For some this might be ok, but I'd prefer it hold it's size and scroll.

Go to your forum homepage and click the arrow on the far left to open up your block settings.

Click edit on your recent topics block and increase the number to show to whatever number you like (it's set to 5 topics by default).  Save the settings and close the block editor.

Now login to your AdminCP and navigate to the themes area.  Instead of editing your theme click the button next to it to "Edit HTML and CSS".

Then change the tab to CSS and look for custom.css.  Open the file and drop in the following code:

.ipsWidget.ipsWidget_vertical.ipsBox:nth-of-type(1){
overflow-y: scroll;
height: 412px;
overflow-x: hidden;
}

That's it, save it and you're all set!

 

If you're looking to do this on anything prior to 4.x see this topic.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...