Not Solved [Flatty] Putting Image Above Forum Name
#4
Not Solved
okay. basically there are two methods for your requirement.
you can use template conditionals plugin and add required code segment wrapped with a condition
html code at required place in the header template
<if $mybb->user['uid'] < 1 then>
<div style="text-align: center;">steam button code</div>
</if>

or you can use css method
either fixed div element or hide the code segment for other user groups & display it to guests
html code at required place in the header template
<div class="guestnotice gnote{$mybb->user['usergroup']}">steam button code</div>
css code at the bottom of global.css of the theme (edit through admin panel & in advanced mode)
.guestnotice {display: none;
text-align: center;}
.gnote1 {display: block;}
Reply


Messages In This Thread
[Flatty] Putting Image Above Forum Name - by adma - 2016-01-30, 04:40 AM
RE: [Flatty] Putting Image Above Forum Name - by .m. - 2016-01-30, 06:30 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)