Prev and Next all about the place

GK User
Tue Dec 20, 2011 11:41 am
What do I need to do to make the prev and next always turn up at the end of the article. I have many stories of just photos and if one is not as wide as the others the prev and next turn up beside it not at the end of the article. Sometimes they are other places. What is causing this so I know where to fix it? Thank you
User avatar
Gold Boarder

teitbite
Tue Dec 20, 2011 1:49 pm
Hi

Please show me an exact page with this problem.
User avatar
Moderator

GK User
Tue Dec 27, 2011 3:24 pm
User avatar
Gold Boarder

teitbite
Wed Dec 28, 2011 3:11 am
Hi

This issue is more of the joomla issue. The standard joomla article is considered with a main image and text, so the code is shifting image to left. It looks good when it's like I've mentioned, but not right if there are only images. You got 2 options: use a gallery component or add this line to css:

Code: Select all
.articleContent img, .feed-item-description img {
    float: none;
}
User avatar
Moderator

GK User
Thu Dec 29, 2011 7:07 am
Thanks I will add the code.
Where do I find the css file and which one as there are several to add the line of code to? and where in the code do I add it?
User avatar
Gold Boarder

GK User
Thu Dec 29, 2011 7:45 am
Thanks I did a stab in the dark and added it to the css/joomla.css under pagination- it seems to have done the trick!
Thank you!

#gkSocialAPI > div, #gkSocialAPI > iframe, #gkSocialAPI > span, #gkSocialAPI > a { margin-bottom: 10px; }
/* pagination */
.articleContent img, .feed-item-description img {
float: none;
}
div.k2Pagination ul, div.pagination ul { margin: 10px 0 0; padding: 20px 0 0; width:100%; text-align: center; border-top: 1px solid #e5e5e5 }
User avatar
Gold Boarder

teitbite
Thu Dec 29, 2011 5:29 pm
Hi

Yes it was working from every file. But the best is to use one file for all changes than it's easier to manage updates.
User avatar
Moderator

GK User
Fri Dec 30, 2011 10:46 am
Thank you. It seems like its fixed !
User avatar
Gold Boarder

teitbite
Fri Dec 30, 2011 6:20 pm
Hi

Keep observing it. Images may display wrong inside articles with this change.
User avatar
Moderator

GK User
Sat Dec 31, 2011 12:04 pm
Euuwww I hope not. OK.
User avatar
Gold Boarder

GK User
Thu Jan 19, 2012 11:32 pm
teitbite wrote:Hi

Keep observing it. Images may display wrong inside articles with this change.



Hi Teitbite I think I have found this happenning in a layout made before I swapped over to your template where the photos are positioned center
some are fine others will not center
take a quick look
http://www.polomagazines.com/polo-lifes ... ion-hunter
User avatar
Gold Boarder

teitbite
Fri Jan 20, 2012 6:35 pm
Hi

Try update the last fix with this:

Code: Select all
.articleContent img, .feed-item-description img {
    float: none !important;
    margin: 0 auto;
}
User avatar
Moderator


cron