Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • guilhermey Friend
    #189426

    Hi 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


    1. Blog-list-intro-image-issue-on-JA-Argo
    phong nam Friend
    #501268

    Hi 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 ?


    1. 8-5-2013-3-48-14-PM
    2. 8-5-2013-3-53-47-PM
    guilhermey Friend
    #502597

    Tks 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!
    Guilhermey

    guilhermey Friend
    #502598

    Hi again Leo!
    Website credentials changed due to the new server.
    I will update them on the support ticket.
    Tks again!
    All the best!
    Guilhermey

    Phill Moderator
    #502600

    I 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;
    }

    phong nam Friend
    #502607

    Hi guilhermey,

    Lets give these codes a try, since i got the correct layout styles with these codes on my localhost and demo site.

    guilhermey Friend
    #502712

    Tks 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!
    Guilhermey

    guilhermey Friend
    #502720

    Hi 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!
    Guilhermey

    Phill Moderator
    #502721

    Have 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 Friend
    #502723

    Hi 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!
    Guilhermey

    Phill Moderator
    #502728

    Hmm, 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 Friend
    #502768

    Hi 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!
    Guilhermey

    phong nam Friend
    #502774

    Hi,

    @ 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. default.zip
    guilhermey Friend
    #502797

    Tks 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!
    Guilhermey

    phong nam Friend
    #502819

    Hi 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.

Viewing 15 posts - 1 through 15 (of 17 total)

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