test
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • lovedigit Friend
    #205134

    Images bigger than the specific size breaks the single article view on firefox. See screenshot. How to fix that? I cannot edit all the images on the 3k+ articles.


    1. z_00058
    Saguaros Moderator
    #565129

    Hi lovedigit,

    You can try with this tweak:
    – Go to file: /templates/ja_teline_v/css/custom.css
    – Add this rule:


    article img, .article-intro img, .article-content img {
    width: 100%;
    }

    lovedigit Friend
    #565134

    Thanks! it worked like a charm 🙂

    lovedigit Friend
    #565135
    Saguaros Moderator
    #565136

    You’re welcome!!!

    lovedigit Friend
    #568802

    Hello, after applying the code. all the images in the article are stretched to fit the width. I don’t want that to happen to all of the images.

    I have found the alternative code that can be implemented. but, I am not sure what should I use to make it work for all display resolutions? I could use the % value for max-width attribute. but that too I don’t really know how to use.

    .article-content-main
    {
    max-width: value;
    }

    seems to be good approach for this problem. Can you help me further on this one?


    1. z_00126
    lovedigit Friend
    #733895

    Hello, after applying the code. all the images in the article are stretched to fit the width. I don’t want that to happen to all of the images.

    I have found the alternative code that can be implemented. but, I am not sure what should I use to make it work for all display resolutions? I could use the % value for max-width attribute. but that too I don’t really know how to use.

    .article-content-main
    {
    max-width: value;
    }

    seems to be good approach for this problem. Can you help me further on this one?

    lovedigit Friend
    #568803

    Nevermind. I answered my own question

    This code works perfectly. Just put it in custom.css:

    .article-content-main {
    max-width: 100%;
    }

    lovedigit Friend
    #733896

    Nevermind. I answered my own question

    This code works perfectly. Just put it in custom.css:

    .article-content-main {
    max-width: 100%;
    }

    Andrew Winkler Friend
    #570402

    Sorry, I tried both ways, but it made no difference.

    https://therebel.is/news/rebelofoz/849635-about-the-significance-of-old-stories

    Andrew Winkler Friend
    #735468

    Sorry, I tried both ways, but it made no difference.

    https://therebel.is/news/rebelofoz/849635-about-the-significance-of-old-stories

    Saguaros Moderator
    #570405

    You can try with my suggestion above:


    .article-content img {
    width: 100%;
    }

    Saguaros Moderator
    #735471

    You can try with my suggestion above:


    .article-content img {
    width: 100%;
    }

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

This topic contains 13 replies, has 3 voices, and was last updated by  Saguaros 9 years, 7 months ago.

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