Pictures problem in mobile and language problem in seo addon

Ask for help or provide support to other members.
Post Reply
erevnitis
Posts: 6
Joined: Sun Jul 31, 2022 3:19 pm

Pictures problem in mobile and language problem in seo addon

Post by erevnitis »

Hello friends!
I have begun to create a Greek website www.uugreece.gr.
All are Ok and I like wondercms.
1) I see the problem that the pictures I put in website didn't display correctly on mobile devices.
They displayed a little outside of website.
Wondercms didn't shrink pictures to website. Maybe I must try to downsize the pictures from pixabay before I use them.
The example in attachment is from a post in blog. https://uugreece.gr/blog/10-%CF%80%CF%8 ... sha-hauser
2) I installed seo addon for to creation sitemap files for google. I see that generated file didn't display correctly the greek language.
Display this:
https://www.uugreece.gr/
https://www.uugreece.gr/αρχικη
https://www.uugreece.gr/ποιοι-ΡιμαστΡ
https://www.uugreece.gr/τι-πιστΡυουμΡ
https://www.uugreece.gr/english
https://www.uugreece.gr/blog/10-πραγματα-που-πρΡπΡι-Ξ½Ξ±-γνωρι΢Ρισ-Ξ³ΞΉΞ±-τον-Ρνωτικο-οικουμΡνισμο-aisha-hauser

Do you know if there is way to correct it?
Thank you!
Attachments
Screenshot_20240508-195021.png
Screenshot_20240508-195021.png (454.08 KiB) Viewed 142 times

User avatar
nox
Posts: 41
Joined: Sat May 23, 2020 9:02 pm

Re: Pictures problem in mobile and language problem in seo addon

Post by nox »

Hey erevnitis,

for pictures to fit inside website container, you need to add this CSS snippet:

Code: Select all

img {max-width: 100%;}
inside theme style.css (themes/theme-name/css/style.css)

or if you don't want to touch theme files, you can do it as an inline CSS inside footer (while signed in).
For default WonderCMS editor just copy and paste css below.
If you are using Summernote editor click on </> Code view button then copy and paste:

Code: Select all

<style>
img {max-width: 100%;}
</style>
Then close Code view clicking on </> icon again.

erevnitis
Posts: 6
Joined: Sun Jul 31, 2022 3:19 pm

Re: Pictures problem in mobile and language problem in seo addon

Post by erevnitis »

Hello Nox. Thanks for your answer.
In the second solution, do you mean in the section which displays in the bottom of every page? And it is common to all pages?
Ok. I did it and works!
But why the developers of wondercms didn't put this code from scratch ?
Thank you again!

User avatar
nox
Posts: 41
Joined: Sat May 23, 2020 9:02 pm

Re: Pictures problem in mobile and language problem in seo addon

Post by nox »

Hey erevnitis,

I'm glad it worked out.

Between working on Wonder CMS, updating plugins and themes, working full time job, it is normal to overlook some minor details.

For xml sitemap, here is a good article:
https://www.halo-lab.com/blog/website-xml-sitemap

Post Reply