By Damián on Thursday, 16 May 2019
Posted in Technical Issues
Likes 0
Views 585
Votes 0
Hi,

I have set the Nickel theme as the default one. It works fine with two columns and a small post cover on the left, but sometimes it behaves wrongly and shows just one column with the post cover filling the whole width of the post, either in the frontpage listing and in the post page. This occurs spontaneously without an action on my part. So far, I can temporarily solve this from the backend by cleaning the cache, but there should be another way -I hope.

Thank you.
Hey there,

May I know how did you replicate it step by step as I just have a look on your site and it is looking fine for me here? https://take.ms/85CZg

Can you include your site's access and FTP's access once at http://stackideas.com/dashboard/site so that we can have a better check of it?
·
Thursday, 16 May 2019 18:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Irwin,

As I told you, the issue occurs unexpectedly from time to time with no action on my part, so I cannot replicate it deliberately. When you had a look at my home page things were going well. But after some hours, you can see what I mean in the attached image. That's how my site looks now. I won't change anything so that you can work on it.
Sometimes it also happens with individual posts, whose cover image occupies the whole width, in spite of the smaller size I have set for it.
I can solve it by refreshing the Joomla cache manually, but that's not a good solution.

I have already supplied you with the details for accessing my site as administrator, as well as through FTP.

Thank you
·
Friday, 17 May 2019 00:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

The reason that it will show 1 column on the listing page when you view on desktop is because there already injected these class name 'is-mobile'/'is-tablet' in the blog listing HTML content. (screenshot : https://take.ms/F0Nvf)

In Easyblog, it will use these class name to determine the current viewer using which device browse on your website, so it can able to load the correct responsive styling in mobile/tablet/desktop on your site.

In other word, if your cache system cached your blog listing page HTML content when someone view on mobile device, it will show 1 column on the blog listing page when you view on desktop browser becuase cache system just load back the HTML content what it cached in previously, this is why when you clear the cache on your site, then it will show back 2 column on the blog listing page.

Here's some suggestion solutions:
1. Try take a look of your current cache system and see whether there got a setting to allow you to set exclude page, so it will not cache this blog listing page on the site.

2. You can consider to switch your current cache system to Mod_pagespeed, because this also will improve the page performance.

It's actually an apache / nginx module that can be used to compress and minify a page on the web server's layer without compromising performance of php.

Then enabled Gzip compression from backend, it will reduces the file size of all scripts and css files being rendered on the page.

You can read more about mod_pagespeed from https://developers.google.com/speed/pagespeed/module/
·
Friday, 17 May 2019 12:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok. I'll try either of the two options yoy suggest and let you know when it's solved. Thank you
·
Friday, 17 May 2019 13:08
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome. Do keep us updated then.
·
Friday, 17 May 2019 13:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,
After attempting what you suggested...

1. Try take a look of your current cache system and see whether there got a setting to allow you to set exclude page, so it will not cache this blog listing page on the site. /


Easyblog listing is in the main page and so it's the structure of the 'Home page' menu item. I can't see a way to exclude this menu item from the cache. I tried doing so in the Joomla System-Chache plugin, but with no results.

2. You can consider to switch your current cache system to Mod_pagespeed, because this also will improve the page performance.

It's actually an apache / nginx module that can be used to compress and minify a page on the web server's layer without compromising performance of php.

Then enabled Gzip compression from backend, it will reduces the file size of all scripts and css files being rendered on the page.

You can read more about mod_pagespeed from https://developers.google.com/speed/pagespeed/module/


I cannot access Apache in my shared server host service. On the other hand, I think I couldn't manage the commands I've seen regarding the use of mod_pagespeed. It's all Chinese to me.

So, I'm at the same starting point where I was. Some other clues?

Thanks.
·
Tuesday, 21 May 2019 20:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a public holiday for us here.

Try download my attached file and replace into this following template override file location and see how it goes :

JoomlaFolder/templates/YourCurrentTemplate/html/com_easyblog/structure/default.php
JoomlaFolder/templates/YourCurrentTemplate/html/com_easyblog/blogs/latest/default.main.php


Do take note for those new folder you have to manually create it from your current site template directory path.

Remember clear the cache before test it, if there got any styling issue you can just temporary rename those file.
·
Wednesday, 22 May 2019 11:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you, Arlex.

I have just created the paths for both files and uploaded them there. Please let me try their functioning for a couple of days, after which I will be able to tell you if they have been effective.
·
Wednesday, 22 May 2019 22:07
·
0 Likes
·
0 Votes
·
0 Comments
·
It seems like I missing 1 more file, can you try download my attached file and put into your following file location and see how it goes?

JoomlaFolder/templates/yourCurrentTemplates/html/com_easyblog/blogs/latest/default.php

Then apply this following custom css under your site backend > Easyblog > theme > custom css and clear your backend cache before you do the re-test.


@media (max-width:768px) {
#eb .eb-masonry .eb-masonry-post,
#eb .eb-posts .eb-masonry-post {
width: 100% !important;
position: static !important;
}
}
·
Thursday, 23 May 2019 10:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

It seems that with the 3 files and the css code you provided the styling works fine now. No problem so far.

Thank you.
·
Friday, 24 May 2019 15:10
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome, glad to hear that those customization file work fine.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Friday, 24 May 2019 15:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post