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.
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.
.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;
}
In which file should we add this ? I mean, name of the file.
Not sure if I am allowed to post an sm.org link . Here is the mod I mentioned
http://custom.simplemachines.org/mods/index.php?mod=2924
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. ;)
Thanks :)