by Ange Tuteur July 3rd 2015, 3:00 am
Hi
@Chocoladesnoepje,
Depending on where the widgets are, you can use the following CSS rules to hide the columns.
Display > Colors > CSS stylesheet
Right column :
- Code:
#right { display:none }
Left column :
- Code:
#left { display:none }
As for the quick reply avatar, you can do the following. Firstly, add the following to your stylesheet :
- Code:
#quick_reply { position:relative }
#quickAvatar {
position:absolute;
top:50%;
left:10px;
margin-top:-50px;
}
#quickAvatar img {
max-height:100px;
max-width:100px;
}
Then go to Administration Panel > Modules > JavaScript codes management > Create a new script
Placement : In the topics
Paste the following code and click submit :
- Code:
$(function() {
var quick = document.getElementById('quick_reply'), avatar = document.createElement('DIV');
avatar.id = 'quickAvatar';
avatar.innerHTML = _userdata.avatar;
quick && quick.insertBefore(avatar, quick.firstChild);
});