css class for menu-item
- GK User
- Wed Oct 07, 2015 11:06 am
Hey Gavick-Team!
I created a menu-item as category-blog as you can see here:
http://www.tischtennis.msvbautzen04.de/galerie/bilder-von-2015
I don't use an intro-image in the articles of this category, so I don't need the margin-left. Can I use here the full content by editing the css? I found the class item-block (margin-left: 170px), but I need this margin for my frontpage. So I have to different the item-block from the other, but how to?
Thank you in advance!
Best regards,
Holger.
I created a menu-item as category-blog as you can see here:
http://www.tischtennis.msvbautzen04.de/galerie/bilder-von-2015
I don't use an intro-image in the articles of this category, so I don't need the margin-left. Can I use here the full content by editing the css? I found the class item-block (margin-left: 170px), but I need this margin for my frontpage. So I have to different the item-block from the other, but how to?
Thank you in advance!
Best regards,
Holger.
-
- Senior Boarder
- GK User
- Thu Oct 08, 2015 5:09 pm
Can anybody move this topic to the game theme please?
-
- Senior Boarder
- teitbite
- Fri Oct 09, 2015 5:31 pm
Hi
Best way to do this would be by using page class suffix. Here is an example: https://www.gavick.com/documentation/un ... omla-pages
Than lets say this suffix will be called "reduce-margin" so You will have to add this code to override.css to force different value:
Best way to do this would be by using page class suffix. Here is an example: https://www.gavick.com/documentation/un ... omla-pages
Than lets say this suffix will be called "reduce-margin" so You will have to add this code to override.css to force different value:
- Code: Select all
.reduce-margin .itemBlock {
margin: 0;
}
-
- Moderator
- GK User
- Mon Oct 12, 2015 2:43 pm
Thank you, it works!
I searched for the place to define the page class suffix...
I searched for the place to define the page class suffix...
-
- Senior Boarder
- teitbite
- Wed Oct 14, 2015 11:36 am
Hi
An example is here: https://www.gavick.com/documentation/jo ... omla-pages
But simply go to template settings. Select section "Features" and than option called "Suffixes for pages". You need to know an ID of a page You are adding a suffix to.
An example is here: https://www.gavick.com/documentation/jo ... omla-pages
But simply go to template settings. Select section "Features" and than option called "Suffixes for pages". You need to know an ID of a page You are adding a suffix to.
-
- Moderator
5 posts
• Page 1 of 1