xoops forums

Forum Index


Board index » All Posts (aerograf)




aerograf

Just popping in
Posted on: Today 4:03
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#1

Re: Switching to https

I will add as an add-on:
http://xoops.org/modules/newbb/viewto ... hp?start=0&topic_id=78171


aerograf

Just popping in
Posted on: Yesterday 16:01
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#2

Re: Automatic image width (for mobile devices)

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.


aerograf

Just popping in
Posted on: Yesterday 13:39
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#3

Re: Automatic image width (for mobile devices)

In the validator, the file name is unfortunately not written.
If I need help, I'll help. Can make temporary access to ftp? Or send all css files to aerograf@shmel.org


aerograf

Just popping in
Posted on: Yesterday 13:22
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#4

Re: Automatic image width (for mobile devices)

The [img] code is recoded to <img src = with the default parameters, so you have everything working. This can be seen in the file: /class/textsanitizer/image/image.php


aerograf

Just popping in
Posted on: Yesterday 13:05
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#5

Re: Automatic image width (for mobile devices)

View all the included css files.
You have a common mistake, you add new classes to the beginning of the css file, so you can zero them afterwards. In all the basic css are the lines of the css reset. Therefore, you have mistakes. You have to go through all the files and check for class repeatability and delete all the repetitions.
Connect css in series, after checking.


aerograf

Just popping in
Posted on: Yesterday 12:56
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#6

Re: Automatic image width (for mobile devices)

And the fact that you added the code:
.img.big {
cursor : se-resize;
max-width : 150px;
padding : 5px;
}
.img.big:hover {
max-width : none;
padding : 5px;
}
Works on hover:
https://www.shmel.org/lexikon/entry.php?entryID=75


aerograf

Just popping in
Posted on: Yesterday 12:47
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#7

Re: Automatic image width (for mobile devices)

Look here:
http://jigsaw.w3.org/css-validator/va ... ng=1&vextwarning=&lang=en

After the font is added: Glyphicons Halflings

You have so many classes for img ... It's bad.

Quote:
but when i remove class from article code and remove bleekk script from theme.html then is ok

About what I wrote earlier ...


aerograf

Just popping in
Posted on: Yesterday 12:40
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#8

Re: Automatic image width (for mobile devices)

As far as I can see, you have several css files that first reset css and then assign classes again. It is necessary to understand these files.


aerograf

Just popping in
Posted on: Yesterday 12:29
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#9

Re: Automatic image width (for mobile devices)

Name:
Img {
vertical-align: middle;
}
on
Img {
border: 0;
}
Remove, for a time class = "img-responsive" from the code.
Then we'll see.


aerograf

Just popping in
Posted on: Yesterday 11:57
aerograf
aerograf (Show more)
Just popping in
Posts: 80
Since: 1/7 14:01
#10

Re: Automatic image width (for mobile devices)

Do you have css
Img {
Vertical-align: middle;
}
So what do you want ????
Http://jigsaw.w3.org/css-validator/va ... ll&warning=1&vextwarning= & Lang = en



TopTop
(1) 2 3 4 ... 8 »