Some questions about modules and etc

Posted in: Newspaper
Post count: 20

Hello!
Here is a few questions.
1. I use m11 module, and on mobile all looks fine, but on desctop – too “square”. I mean the image preview (324×235) Can i change height of image, and maybe height of module?
It is very important to me, because i very need button, and image what was looks same on mobile and desctop. At this moment, on mobile image is cuted, and it looks fine. Need change the size of module on desctop 🙂
2. I use tagdiv mobile plugin. And when i open category i see this:
sidebar
It is items from main menu (categories)…, and i cant understand how to hide it on mobile view. Can you help me with it?

Post count: 23312

Hello vortihk,

1)I suppose that you want to change the module layout for your module used, right? Please notice that we do not recommend doing this because you can break the theme design.It is not a simple task and requires to make some additional customizations though the code which involves custom work, and we cannot provide at the moment, sorry! You should find another module which satisfies your desire and uses it on your website and checks the results.
2)Here is talking about the category siblings which can be hidden with a bit of CSS code. Try the code below and place it in Theme panel->Custom CSS Area.

The code is ->
@media(max-width:767px){
.td-category-siblings{
display:none;
}
}

Hope this helps!

Thanks for your understanding!

Post count: 20

Hello sir!
I was added the css code what you give. But nothing change.
Im added it in custom css section, and in advanced section too.
But, doesn’t works.

Post count: 23312

Hello vortihk,

Try to add the !important tag to give more priority for your custom CSS code.

@media(max-width:767px){
.td-category-siblings{
display:none!important;
}
}

Hope this helps!

Thanks for the message!

Post count: 20

Nope, doesn’t works.

Ok, if we cant hide it, maybe you tell me how increase amount of items in this list? I have 10-12 items in menu, but on this sublings i see only 8.

But if we will hide it, that will be better)

  • This reply was modified 9 years by vortihk.
Post count: 23312

Hello vortihk,

In order to check your above code, try to clear all your caches and then check the results. Do you have tried it? Also, if you need more assistance in this regard, please provide your website URL so I will be able to take a closer look at it and also, so I will be able to provide a more accurate response.

Thanks for your understanding!

Post count: 20

Hello sir!
Of course i cleared cache)
http://www.igrarium.com

Post count: 22421

Hi,

I have tested the code again and it works as expected. I tested directly on your site: https://www.screencast.com/t/SijC7GyYU
This means you are either adding the code wrong or there is something preventing the css from applying.
Please check your custom css box and see if there are any warning or errors provided. There is a big red X left of the code if there is an error in the custom css box. This will make the code not work in the custom css box. Please provide a screenshot of your custom css box so we can inspect it and see how you are adding the code.

Thank you!

Post count: 20

I see the screenshot what you made. 1st menu, what you tested, not have any submenus.
If you will check menu “androis” and “ios” you will see, what css doesn’t work.
Of course maybe Im doing something wrong. Here is my custom css box:
custom css box

Post count: 22421

It is the same on all menu items. The code works: https://www.screencast.com/t/0xeQecXdy7h and https://www.screencast.com/t/InFwdFiEyrId
You are not adding the custom css in the correct code box however. You use the mobile theme. the code must go into the mobile theme custom css not the main theme custom css: https://www.screencast.com/t/DXOlO1JlekK5
That was the missing link to this problem :).
Thank you!

Post count: 20

Catalin, Bogdan B, thank you so much!
Really, im forget about mobile theme box =)

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.