SMF Support > SMF 2.0.x Support
News fader alignment
(1/1)
Westwegoman:
I would like to modify the news fader and the title "News:" to be aligned left by default, so its pretty much in the middle of the screen. I thought I would be able to do this but I guess i'm just looking in the wrong place. Can someone please lead me in the right direction.
Thanks.
http://www.segnette.com/community/index.php
Storman™:
Have you thought about users who have smaller screen resolutions?
In their case, if it's moved to the middle then there's a good chance the text will clash with the login box as space will be need to be limited. Think the page will look wrong as well (IMO).
Westwegoman:
Guess I didn't think of that. I assumed that the news was in a seperate cell located within a table. I'm not all that great when it comes to digging into how the template is laid out.
Storman™:
Well they are all separated and aligned with the CSS.
The part you refer to shares the same CSS as the search box and currently floats right with this:
--- Code: ---#upper_section div.news (line 1409)
{
width: 50%;
float: right;
text-align: right;
}
--- End code ---
You could play and amend that to float left but without actually looking at the CSS on site myself I wouldn't like to advise you further as a few more parts may need amending to get them as you'd like. For instance the search box would also need seperating out so that it stays right.
The file you require by the way is index.css which you'll find in /Themes/default/css/
Navigation
[0] Message Index
Go to full version