test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • regin Friend
    #198504

    Hi

    Stole some CSS from another joomlart tempalte – I think it was Purity III, and wanted to present the staff properly:
    http://devtantec.nioba.dk/index.php/tantec/tantec-profiles

    It looks great, exept from when I resize the browser. The images they scale down. Id like them to Behave like here:
    http://www.joomlart.com/demo/#purity_iii

    But just how do I do that?…

    Help appreciated!

    Regards
    Regin

    swissa Friend
    #537881

    It is responsive – that’s why it scales down. 🙂

    Try adding the following rule to your custom.css file and see if it helps

    @media (min-width: 768px){ .col-sm-6 {
    width: 50%;
    float: left;
    }
    }

    regin Friend
    #537884

    Ah… 🙂

    I added the code, but it only affects the images when they are supposed to be full size. So now they are on a line when scaling down, but not when seen in full site width..

    http://devtantec.nioba.dk/index.php/tantec/tantec-profiles

    swissa Friend
    #537886

    Two things…

    1. Can you set optimise css to OFF so that one can see the css files please
    2. I don’t see the code I gave you in the compressed file

    can you do a screenshot of what you see because I see just the normal scaling

    regin Friend
    #537888

    Hi

    1. Done – set to OFF
    2. Should be in custom.css – put it in line 178

    Screenshot of full size + custom.css:

    Regards
    regin


    1. Screenshot-2014-06-05-15.30.26
    2. Screenshot-2014-06-05
    swissa Friend
    #537891

    That’s better. I can see what I’m doing now!

    OK. You have a couple of problems in your custom.css file. You call .col-sm-6 and .col-md-3 @ lines 137 and 140 so delete those

    .col-sm-6 { width: 50%;
    }
    .col-md-3 {
    width: 25%;
    }

    Then at the end of the file add this additional code after the one I already gave you

    @media (min-width: 992px){.col-md-3 {
    width: 25%;
    }
    }

    That should set it how you want.

    regin Friend
    #537898

    Ah, your are right, it works!!

    Thanks a bunch. I just learned a bit about @media queries there too!

    Just one last question.. The first image is proportionally bigger than the other images when I resize the browser – got any idea why? It is the same image I use below, and there it has the right size.

    Regards
    Regin

    ———-
    UPdate: Wait – I got it. Actually it is not the same image, but a much larger one. That must be the reason why it is larger too when resizing the browser. All under control. THANKS! 😀

    swissa Friend
    #537903

    Glad you sorted it with the image: although the guys all look the same to me! 😉

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 2 voices, and was last updated by  swissa 10 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum