Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • tilovas Friend
    #187518

    Hello,

    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


    1. mod_custom
    Ninja Lead Moderator
    #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 Friend
    #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 Moderator
    #493118

    I 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 Friend
    #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&gt;

    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 Moderator
    #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.

Viewing 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