Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • 1remos Friend
    #185968

    Trying to style the extra fields in k2 item

    class=”itemExtraFieldsLabel” does not affects the style althought in k2.css file there is:

    div.catItemExtraFields
    ul li span.catItemExtraFieldsLabel,
    div.genericItemExtraFields
    ul li span.genericItemExtraFieldsLabel {display:block;float:left;font-weight:bold;margin:0 4px 0 0;width:30%;}

    Stork11 Friend
    #487005

    Hello 1remos

    In your styles you listed above, I can’t find any “itemExtraFieldsLabel” class name. You must style for “itemExtraFieldsLabel” class name so the style can be affected.
    <blockquote>div.catItemExtraFields
    ul li span.catItemExtraFieldsLabel,
    div.genericItemExtraFields
    ul li span.genericItemExtraFieldsLabel {display:block;float:left;font-weight:bold;margin:0 4px 0 0;width:30%;}</blockquote>

    Regards.

    1remos Friend
    #487212

    Sorry, My mistake, the class is there and it is “class=”genericItemExtraFieldsLabel”

    Is the style that allready excist in k2.css file that affects in other templates but no in Ja Wall
    Is not readable also by firebug!
    A little bit strange, is it not ?

    Stork11 Friend
    #487328

    Please send me the URL where problem was faced, then I can try to diagnose it.

    Regards.

    1remos Friend
    #487527

    I pm you the url

    Ninja Lead Moderator
    #487714

    <em>@1remos 365823 wrote:</em><blockquote>I pm you the url</blockquote>

    I found on k2.css file and i saw this script


    div.catItemExtraFields
    ul li span.catItemExtraFieldsLabel,
    div.genericItemExtraFields
    ul li span.genericItemExtraFieldsLabel {display:block;float:left;font-weight:bold;margin:0 4px 0 0;width:30%;}

    But i have checked on html structure k2 on your link mention but i could not see css appear with K2.

    Can you show me where you need to add class into K2? Please send me the screenshot, I shall try to give solution to help you out

    1remos Friend
    #487769

    Dear Ninja,

    Thats my point!

    Althougth script for extra field and more specific for “Field Laber” is there, in k2.css file, this script does not appears in html structure.

    I did not do any modifications to k2.css file.

    As you noticed k2 team already offer basic design in default k2.css file (ie width: 30%)

    In all my other installations (with other than JA Wall temp) that problem does not excists.
    The design of k2 extra fields is excecuted according to the above mentioned script.

    I face the problem only with JA Wall installation

    Thank u in advance!

    1remos

    Ninja Lead Moderator
    #487893

    Hi 1remos,

    We customize K2 style on JA Wall Template. I don’t know what exactly are you still face the problem. You can send me the screenshot and your site URL here for further investigation.

    Regards

    1remos Friend
    #487927

    Dear Ninja,

    I pm you the url with some detailed info

    Looking for your reply

    Thank you in advance!

    1remos


    1. k2-extra-fields
    Ninja Lead Moderator
    #487956

    I got it, you can fix this errror with my suggestion

    Open templates/ja_wall/css/k2.css file

    Add new script


    div.itemExtraFields ul li span.genericItemExtraFieldsLabel {
    display:block;
    float:left;
    font-weight:bold;
    margin:0 4px 0 0;
    width:30%;
    }
    div.itemExtraFields .even.typeTextfield.group3 {
    background: none !important;
    }

    Let me know the result

    1remos Friend
    #488017

    Problem solved!

    The only question is why firebug reads the k2.ccs file twice, (the second one appears K2.css #2).

    I added the script in templates/ja_wall/css/k2.css file, and only in this file
    and I can see in firebug the script twice (the first overrides the second)
    and not only the new script but all the scripts of k2.css file.

    Anyway the problem is solved and THANK U for that!

    1remos

Viewing 11 posts - 1 through 11 (of 11 total)

This topic contains 11 replies, has 3 voices, and was last updated by  1remos 11 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum