41
Hadesteam
Re: Automatic image width (for mobile devices)
  • 2017/4/26 17:48

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


on 2.5.9 version its the same
http://www.kulturystyka.org.pl/xoops259/modules/news/article.php?storyid=1088

Instead of focusing on adding material to the site, it is a torture with those css ...

Check Your mail box.

42
aerograf
Re: Automatic image width (for mobile devices)
  • 2017/4/26 20:01

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Quote:

Bleekk wrote:
This is how we add the class in images automatic on xoops.org
<script>
            $( 
document ).ready(function() {
                $(
"img").addClass("img-responsive");
                $( 
"form img" ).removeClass"img-responsive" );
                $(
".xoops-comment-text").each(function() {
                  $(
this).find("img").css"display""inline" );
                });
                $(
".page_bookmarks").each(function() {
                  $(
this).find("img").css"display""inline" );
                });
                $(
".page_icons").each(function() {
                  $(
this).find("img").css"display""inline" );
                });
            });
        </
script>

It must be changed to inline-block. Then it works more correctly.

Login

Who's Online

193 user(s) are online (90 user(s) are browsing Support Forums)


Members: 0


Guests: 193


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits