Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • tarabarsky Friend
    #905140

    Hi!

    I am trying to use raw (unprocessed and unscaled) photos for Intro Image in Articles through Images & Links tab. It works fine in Safari on Mac. But when I check the website on Firefox (Mac) or IE and Firefox (Win10), I see that the Intro Image is not resized in Category Blog presentation of articles (although it is resized in full Article view).

    Examples:

    automatically resized https://duplicatemahjong.ru/index.php/tournaments/tournaments-reports/336-report-ivanovo-riichi-2016

    not resized https://duplicatemahjong.ru/index.php/tournaments/tournaments-reports

    Should I have to edit CSS? Or their is a setting for that in JA Social II?

    Pankaj Sharma Moderator
    #905256

    Hi
    Add below code in custom.css file to make the image responsive in all screen sizes .

    article .item-image img {
    
        width: 100%;
    }


    Path : /templates/Your JA Template/css/custom.css

    Create custom.css if file is not there .
    Let me know if it helps .

    tarabarsky Friend
    #905318

    Yes, it worked. Thanks!

    For my information: does custom.css adds or overwrites the styles?
    In the latter case I would use it for some quick fine-tuning of the template.

    Pankaj Sharma Moderator
    #905319

    Hi
    You can add new style codes as well as override the already exist style code from custom.css and it will not effected on template update.

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

This topic contains 3 replies, has 2 voices, and was last updated by  Pankaj Sharma 8 years, 2 months ago.

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