test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • lungomare Friend
    #184102

    How to put bigicon in a module text? (from badge-1.png)


    1. Schermata-2013-01-17-a-16.59.16
    Saguaros Moderator
    #480276

    Hi,

    Which JA Template are you using? and pls tell me where you want to add this icon

    lungomare Friend
    #480442

    Now elastica template.
    Put in module text (like the wiki example). Now I add image on html. But from css ” badge-icon” it’s lovely!

    Saguaros Moderator
    #480609

    Hi,

    We add that image by adding a css class for the <span> tag in that module: <span class=”bigicon”> </span>

    We define in this css file: /templates/ja_elastica/css/typo.css:

    span.bigicon {
    background-image: url("../images/badge-1.png"); << that image is set as background
    background-repeat: no-repeat;
    display: block;
    float: left;
    height: 30px;
    left: 0;
    margin: 5px 10px 0 0;
    top: 0;
    width: 30px;
    }

    lungomare Friend
    #480771

    Well!… and for choose .blocktag
    .blocklink
    .blockquote
    .blockheart
    .blockquestion
    .blockmobile
    put into suffix css module.

    Perfect!!!! Thanks!!!!
    :):):):):):):):)

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

This topic contains 5 replies, has 2 voices, and was last updated by  lungomare 11 years, 11 months ago.

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