Jump to content

Move Author panel from left to right ?


Surendra.S

Recommended Posts

16 hours ago, Surendra.S said:

Hi All,

Is there a way to display Author panel in right side of post instead of default left ?

(Is there a global setting or simple CSS way to do that ?)

AUTHOR.thumb.png.9b3a9c04df63b090759cc2efcce4f936.png

Yes it can be done but remember with every upgrade you are going to have to check if any template changes to that termplate and if so then have to revert the template and re-do the changes again

If happy doing that then:

AdminCP >> Themes >> far right of theme select the Edit HTML/CSS button

In the search box above the Templates/CSS tabs enter "cAuthorPane" (without the quotes)

Expand the 'forums and topics until you see the postContainer

select postContainer so it shows on right side

Look for:

<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone'>

then select everything from there until you see the closing (including the <aside> tags)

<aside>

cut and paste after:

	<div class='ipsColumn ipsColumn_fluid'>
		{template="post" group="topics" app="forums" params="$item, $comment, $item::$formLangPrefix . 'comment', $item::$application, $item::$module, $itemClassSafe"}
	</div>

then in custom.css add:

.cPost .cPost_contentWrap {
  padding: 7px 15px;
}

.cPost .ipsType_reset {
  padding: 0 15px;
}

and you should end up with:

author1.thumb.jpg.553cb3f275b8a9cc8b3b712509d0d2ff.jpg

REMEMBER:

You would have to make the template changes as mentioned at beginning if future upgrades have changes to that template

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...