31
aerograf
Re: Automatic image width (for mobile devices)
  • 2017/4/26 16:40

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


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.

32
Hadesteam
Re: Automatic image width (for mobile devices)
  • 2017/4/26 16:43

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


I didnt see this code:

Img {
vertical-align: middle;
}

I search in xbootstrap/style.css xbootstrap/css/xoops.css, module/news and root of xoops / xoops.css

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

33
aerograf
Re: Automatic image width (for mobile devices)
  • 2017/4/26 16:47

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Look here:
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.kulturystyka.org.pl%2Fmodules%2Ficontent%2Findex.php%3Fpage%3D41&profile=css3&usermedium=all&warning=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 ...

34
aerograf
Re: Automatic image width (for mobile devices)
  • 2017/4/26 16:56

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


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

35
Hadesteam
Re: Automatic image width (for mobile devices)
  • 2017/4/26 16:56

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


Module icontent shutting down about 2-3 days, thats way i moved all articles to the news module ...

I need only news module to work .

Ok i found this code on validator but what next ?

36
aerograf
Re: Automatic image width (for mobile devices)
  • 2017/4/26 17:05

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


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.

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

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


This is so hard for me, im not a specialist, and programist ... I delete responsive class from article code, and remove bleekk script, then using [img] code and its ok so my question is: when i use only [img] code then images is responsive automatic ?

38
aerograf
Re: Automatic image width (for mobile devices)
  • 2017/4/26 17:22

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


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

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

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


Quote:

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


Please tell me in which file i need to change this or i send you my pass to ftp and maybe you help me ?

40
aerograf
Re: Automatic image width (for mobile devices)
  • 2017/4/26 17:39

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


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

Login

Who's Online

174 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 174


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