Skip to main content
Topic: Option to change poster info to top  (Read 6825 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Option to change poster info to top

I use a sidebar for recent post powered by Simple Portal on my site. The issue is that I am having less space for content with poster info box taking a good amount of space. This annoys me mainly while posting bigger images. It simply doesn't fit inside the content area and a slider appears at it's bottom. I was wondering if we can have the option to change the poster info to top as in TAZ (emanuale may be remembering it). If you guys feel ok, even a mod will be very helpful.

Re: Option to change poster info to top

Reply #1

not sure about an Option (I feel this should be part of the addon) but in general it's easy with just some lines of CSS, we almost do exactly the same for the responsive part in the templates.

Code: [Select]
.poster {
display: block;
clear: both;
text-align: center;
}
.poster {
float: none;
}
.poster .listlevel1 {
display: inline-block;
}
.poster li.avatar {
float: left;
}
.avatar>.linklevel1>.avatar {
max-width: 40px;
max-height: 40px;
}
.poster .subsections {
max-width: 120px;
max-height: 1.5em;
float: right;
text-align: right;
}
.poster:after, .posterarea:before {
display: block;
clear: both;
content: "";
padding-bottom: 3px;
}
.postarea {
margin-left: 3px;
border-top: 1px solid #ccc;
}
Thorsten "TE" Eurich
------------------------

Re: Option to change poster info to top

Reply #2

In which file should we add this ? I mean, name of the file.


Re: Option to change poster info to top

Reply #4

No worries with the Link to the mod..

The CSS Needs to be in themes\default\css\index.css if you want it for both variants.
Alternatively you can add it to just one variant.
themes\default\css\_besocial\index_besocial.css for the social variant.
themes\default\css\_light\index_light.css for the light variant.
Add the code to the end of that file.  Be warned: It's just a quick'n'dirty example, made within two minutes, and may need a few tweaks. ;)
Last Edit: February 07, 2014, 08:16:46 am by TE
Thorsten "TE" Eurich
------------------------

Re: Option to change poster info to top

Reply #5

Thanks :)