-
AuthorPosts
-
tilovas Friend
tilovas
- Join date:
- February 2013
- Posts:
- 33
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 4
- Thanked:
- 16 times in 9 posts
May 15, 2013 at 9:59 am #187518Hello,
There is a problem with “Module Class Suffix”. When I created a new class suffix for module, img:
I get the following code in html:
<div class="t3-sidebar t3-sidebar-2 span3">
<div class="t3-module module customcss" id="Mod101">
<div class="module-inner">
<div class="module-ct">
<div class="custom customcss">
<p>Some text</p>
</div>
</div>
</div>
</div>
</div>
So if you can see, I ‘ve got the class in two locations. It’s in:
<div class="t3-module module customcss" id="Mod101">
and
<div class="custom customcss">
And.. of course I have some info in custom.css file, for eg.:
.customcss {
border: 1px solid #cccccc
padding: 5px 6px;
}
And as a result I get a double border. So my question is: why, when I creat a class suffix, I get class suffix in two locations? Of course I am using “Module Style” as “Inherited” if I changed “Inherited” to “none” I get one border as I want to. But then I lose my all style of the template in this module. Doesn’t even show the title.
Any help would be appreciated.
Cheers
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 16, 2013 at 8:49 am #492963
.customcss {
border: 1px solid #cccccc
padding: 5px 6px;
}
Yes, above script will appear in both location.
For the problem of your site, right now its difficult to guess the issue and give solution to you without see it.
tilovas Friendtilovas
- Join date:
- February 2013
- Posts:
- 33
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 4
- Thanked:
- 16 times in 9 posts
May 16, 2013 at 1:03 pm #492997<em>@Ninja Lead 373000 wrote:</em><blockquote>
And the problem of your site, right now its difficult to guess the issue and give solution to you without see it.</blockquote>
I have sent you an email with info of my site ant problem. Did you got it?
And one more thing, I’m using T3-blan with J3.1. And I do not make any change of any files, from except the custom.css file. In this file I’ve change only few thing, like background color and etc.. That’s why I have no idea where the problem is.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 17, 2013 at 9:28 am #493118I have received your pm, but now I re-check it but you solved the problem of your site: https://www.dropbox.com/s/i5hl55styeef2er/web.png
About if you want to change background color and etc,,you can add css style into: templates/t3_blank/css/custom.css, this file will be override with css style duplicate class name and they are the first priority to load on css style.
tilovas Friendtilovas
- Join date:
- February 2013
- Posts:
- 33
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 4
- Thanked:
- 16 times in 9 posts
May 18, 2013 at 9:03 pm #493234<em>@Ninja Lead 373191 wrote:</em><blockquote>I have received your pm, but now I re-check it but you solved the problem of your site</blockquote>
Hi,
Thanks for reply. But there is a little problem. Now we are talking about two different things. I’m really sorry it’s my fault. In this “Thread” I’d asked about “Module Class Suffix” problem. And I didn’t solve this problem.
In pm. I’d asked you about “Component” problem. How can I hide the “Component” area in my “home” menu item. You can see this empty space in img:
<em>@Ninja Lead 373191 wrote:</em><blockquote>https://www.dropbox.com/s/i5hl55styeef2er/web.png</blockquote>
I need this because I’ve use only modules (Module Types: custom HTML) no article in my “home” menu item. I mean there is no option to assign module(custom HTML) to menu item. I should use a some article and use the “Component” area for each menu item or something like that. But in this case I’ve used a “Blank-Component” extension. That’s how I’ve solved the problem with attribution module to menu item. It should be a better solution, but I didn’t find it. So.. When I’ve used the “Blank-Component” for my “home” menu item I solved the problem with attribution, but there was another problem. Even if I’m not using the “Component” area I can still see it as empty space. As you can see it in img. So.. when I didn’t find the solution, I have simply remove the entire “Component” block and use only the modules. But again.. I think it’s must be a better way to use “Modules” if you not using the “Articles” and “Component” area in one of the menu items.
I hope you understand my English 🙂
Cheers
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 20, 2013 at 10:50 am #493360:(( I tried to get the problem your mention but just for better clarification, you can include url of your site, an illustrated screenshot of what you are trying to achieve. It would help me to understand the issue and give you suggestion.
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by Ninja Lead 11 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Module Class Suffix
Viewing 6 posts - 1 through 6 (of 6 total)