-
AuthorPosts
-
guilhermey Friend
guilhermey
- Join date:
- July 2013
- Posts:
- 34
- Downloads:
- 1
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 2, 2013 at 4:05 am #189426Hi Leo Burnetts!
Tks a lot!
What I am trying to achieve is to make JA-Argo blog category list used on home page and category pages respond to the “Float” parameter on Images and Links from each article or global configuration. Currently this is not happening and I am sure every user would benefit from this simple CSS feature. I do not know enough of T3, JA-Argo, etc to accomplish this, even though I did try to change template.css as suggested by Ninja Lead on the previous thread, with no success.
I hope the attached print-screen file with my comments can clarify what I mean here.
Never mind my articles having no intro-text (just the intro-images) because this is a dev environment.
Thank you so much for your much needed help!
All the best!
Guilhermey
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 5, 2013 at 8:52 am #501268Hi Guilhermey,
You can try to put below css styles into templates/ja_argo/css/custom.css file:
@media (min-width: 768px){
/*Extra styles for Joomla category layout on Homepage*/
.home .span4.article-row-aside {
float: right;
margin-bottom: -160px;
}.home .span8.article-row-main {
float: none;
}/*Extra styles for K2 category layout on Homepage*/
.home .catItemImageBlock.span4 {
float: right;
}.home .catItemBody.span8 {
float: none;
}}
Then go the backend of Home meu item, put the text “home” in Page Class option, make sure you leave a space before this text. See my attached snapshot.
Note: As your requirement, the extra codes will work on the category layout of Home menu item only. Other menu items will still keep our default customized category layout. Remember to remove the css styles from previous guides on this topic before applying my codes.
Maybe, you will need to adjust the margin-bottom value if needed. And can you make your website online now so that I can keep track on these new applied changes ?
-
guilhermey Friend
guilhermey
- Join date:
- July 2013
- Posts:
- 34
- Downloads:
- 1
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 18, 2013 at 4:22 pm #502597Tks a lot Leo!
But, as in my request, what I am really looking for is “to make JA-Argo blog category list used on home page and category pages respond to the “Float” parameter on Images and Links from each article or global configuration”.
The extra codes you kindly sent me will resul in hard-coded settings and my editors will not be able to choose from the articles parameters the alignment they need for intro pic (right, left or center).
Sorry if it took me a while to answer but this was due to the migration to a new server.
Do you think other extra codes will allow us to achieve this?
I am sure every user would benefit from this!
Tks a lot for every help!
All the best!
Guilhermeyguilhermey Friendguilhermey
- Join date:
- July 2013
- Posts:
- 34
- Downloads:
- 1
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 18, 2013 at 4:24 pm #502598Hi again Leo!
Website credentials changed due to the new server.
I will update them on the support ticket.
Tks again!
All the best!
GuilhermeyPhill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 18, 2013 at 6:27 pm #502600I have not got my laptop on me to check I have the right code (on an iPad at the moment) but recently added just the code you mention to another JA template as it was missing. Maybe Leo can get it added to current and future releases because as you say, it is very useful.
I think it is as simple as the code below added to the custom.css file as mentioned above.
.left {
float: left;
}.right {
float: right;
}
1 user says Thank You to Phill for this useful post
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
guilhermey Friendguilhermey
- Join date:
- July 2013
- Posts:
- 34
- Downloads:
- 1
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 19, 2013 at 4:29 pm #502712Tks a lot Leo!
But I am confused: which codes do you refer to? To yours’ or Phill’s? Or both together?
Anyway, I am having so many bugs with JA Argo that I do need help here! Please check my support tickets.
Tks a lot!
Best regards!
Guilhermeyguilhermey Friendguilhermey
- Join date:
- July 2013
- Posts:
- 34
- Downloads:
- 1
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 19, 2013 at 7:30 pm #502720Hi Leo!
I tried that but it fell short of the issue I am facing here.
What I am trying to do is to make JA Argo home and categories pages respond to the “Float” parameter on Images and Links from each article.
Your code helped in part because it made a default responding to the Global configuration only, right and left only and on home page only.
The same thing should be madepossible to middle/center position (Joomla float default in this case is “none”) in both global and article configurations and also on category blog pages.
I think this will be useful to all users because they would have more options to explore the possibilities of this great template!
Please show me how to accomplish this on custom.css.
Tks a lot!
GuilhermeyPhill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 19, 2013 at 7:47 pm #502721Have you tried my code? When you use the left and right parameter in the back end of Joomla all it does is add the left or right class to the output. So all you need to do is tell the script what to do with those classes.
guilhermey Friendguilhermey
- Join date:
- July 2013
- Posts:
- 34
- Downloads:
- 1
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 19, 2013 at 7:55 pm #502723Hi Phil!
You mean this code added to custom.css, right?
.left {
float: left;.right {
float: right;
My question is: what about center/middle float responding to “none” parameter in articles?
Tks a lot!
GuilhermeyPhill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 19, 2013 at 10:03 pm #502728Hmm, it does look as if we ignore these things in this template overriding the default Joomla items. This blog shows what should work, but it doesn’t – http://www.joomla-monster.com/blog/joomla-2-5/how-to-display-intro-and-full-article-images . Currently I only have an ipad so am unable to test anything. Hopefully Leo can advise.
guilhermey Friendguilhermey
- Join date:
- July 2013
- Posts:
- 34
- Downloads:
- 1
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 20, 2013 at 3:11 am #502768Hi Phill, Leo!
Yes. That’s precisely what I meant.
I tried your code previously sent but it does not allow JA Argo to respond to the articles parameter (only creates a globel new setting for all articles) and also does not allow center/middle image intro.
Our website here is a fashion industry blog with over 4 million pageviews and I am trying to migrate it from J1.5 to J2,5 and I thought JA Argo would look great but we need to have intro images with all 3 alignments allowed by Joomla. This will give a much richer and fancier look than having all intros flat right-aligned or left-aligned.
Please help and show us how!
I am pretty sure every user will benefit from this.
Tks a lot!
Guilhermeyphong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 20, 2013 at 3:59 am #502774Hi,
@ Phill: Thank you for reminding me about that settings.
@guilhermey: Right, our customized com_content layout overrides the Joomla default settings on article view and blog layout in image floating. Well, i has a suggestion for you:– Category layout with floating the intro images:
I think you should keep our overriden category layout to display the intro images, because as you know we adjust this layout to fit with other sections on homepage like inset and sidebar. Not just floating effect, the category layout will be broken when you adjust the width of the intro image class.If you want to float the intro image in category view, you can refer my guides above at http://www.joomlart.com/forums/topic/need-to-customize-main-content-area-on-home-page-how-to-2/#post-501268 .
Note: You can create as many page classes you want.
– Article view with floating the full images:
Well, I has already edited this article layout which allows you to fully control the Joomla articles parameter on floating full-article image. You need to backup templatesja_argohtmlcom_contentarticledefault.php file, then replace it with my attached file.
As you can see in the snapshot, the Argo template is loading the article view with default Joomla class: img-fulltext-left
1 user says Thank You to phong nam for this useful post
guilhermey Friendguilhermey
- Join date:
- July 2013
- Posts:
- 34
- Downloads:
- 1
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 20, 2013 at 6:52 am #502797Tks Leo!
I did appreciate your suggestion above!
But I am really unconfortable to make further changes because actually my JA Argo is not working any more.
I updated to latest version, but several things stopped working: category menu, followus position, login, the inline, etc.
Modules are all there but I really do not know what happened. I am stuck!
And open to further suggestions from more experienced persons like you.
Tks a lot!
Guilhermeyphong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 20, 2013 at 8:24 am #502819Hi Guilhermey,
I have recieved your ticket on updating problems, please check out your email and reply me with super admin in ticket so that i can check out your issues better.
-
AuthorPosts
This topic contains 17 replies, has 3 voices, and was last updated by phong nam 11 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum