position of related items list

October 08 Joomla Templates
GK User
Mon Jan 16, 2012 1:55 pm
there are more from this author and related items (by tag) lists at the end of items. I am hiding more from the author and displaying related items.

however, related items are displayed on the right side like here http://gulennews.org/index.php/technolo ... le-battery

how can I move it to the left?

Thanks,

Levent
User avatar
Senior Boarder

Konrad M
Mon Jan 16, 2012 1:59 pm
Hi
Try add to override.css
Code: Select all
.itemRelated, .itemAuthorLatest {
    float: left !important;
}

and remember to enableo override.css option in template settings.
User avatar

GK User
Mon Jan 16, 2012 2:46 pm
it worked thanks.

but I think the position has width, and because of that title of the article is in two lines. How can we expand the width of the position?
http://gulennews.org/index.php/technolo ... le-battery

thanks,

Levent
User avatar
Senior Boarder

Konrad M
Mon Jan 16, 2012 2:51 pm
Change it to
Code: Select all
.itemRelated, .itemAuthorLatest {
    float:left;
    width: 90%;
}
User avatar

GK User
Mon Jan 16, 2012 3:10 pm
it worked, great!
I like these override CCS codes.
levent
User avatar
Senior Boarder

Konrad M
Mon Jan 16, 2012 3:15 pm
Great. Overide is very usefull when you will want to update your theme, becasue it perhaps need to override some style files but never override. So I advise add every change to override.css
User avatar


cron