test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • timtecsa Friend
    #968862

    The ‘Images’ are icons from Font Awesome (http://fontawesome.io/icons/). Each button links to an article and the icon for the button is specified in the article’s JA Extra Fields tab.


    1. fontawesome
    cknowlan Friend
    #968922

    I go in and change the icon but nothing changes when I display the page. I put a icon from font awesome to change the coding icon to a cloud Icon (fa-cloud instead of fa-code) but nothing changes I put a screen shot of the module I am working on.


    1. bluespots
    pagefactory Friend
    #968940

    timtecsa

    There must something wrong, I have a problem as well with this module.

    my url: http://www.roboostveen.nl just make the install, joomla 3.

    I only changed Read more into Lees meer (dutch) in the code of the module
    code now:
    <div class="ja-special-content">
    <div class="circle-icon background-1">

    Web design

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incid dunt ut labore et dolore magna aliqua.

    <a class="btn btn-link" href="index.php?option=com_content&view=article&id=148&catid=84&Itemid=566">Lees meer

    after the change the icon was gone (?)

    After this I open the coding module just open the source , do nothing, close the module and the icon was gone also (?)
    Code (still)now :
    <div class="ja-special-content">
    <div class="circle-icon background-3">

    Coding

    It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

    <a class="btn btn-link" href="index.php?option=com_content&view=article&id=132&catid=84&Itemid=562">Read more

    For the rest did’nt change something else , not in the menu services not in the articles

    I use firefox as browser.

    Do you see any problems ?

    reagards Rob – PageFactory –

    timtecsa Friend
    #968951

    Sorry for the incorrect info when using the Services custom html module. I have been using the Carousel Articles category module on this site http://www.compose.com.hk where you can see lots of small buttons with fa icons in them. These you do edit as I have described.

    But the Services module is Custom HTMl type and in 3 positions. Namely positions 1,2 and 3. If you look at the front end with Inspect Element you’ll see an odd item in the CSS called Pseudo::before element (see attached image below). In this piece of CSS you’ll also see: content: "f0c2";

    Pseudo ::before element
    .fa-cloud:before {
     content: "\f0c2"; 
    }

    Now look at the 2nd attached image which shows the Cloud icon entry in Font Awesome. You may notice the reference to Unicode: f0c2

    Changing the Unicode reference for the icon you want to place in the button does the trick.

    Good luck

    Tim

    PS. See aso https://www.joomlart.com/documentation/joomla-templates/ja-nuevo-template/joomla-extension-configuration#custom-htmlSection 5


    1. fa_unicode
    2. fa_unicode_2
    Saguaros Moderator
    #969286

    Hi guys,

    These are Custom HTML module so before changing the content, try going to Global Configuration and turn off the Default Editor first (as the editor often strips some HTML tags when saving so it may cause issue)

    Then you go to Extensions > Modules > Filter modules in position-1, position-2, position-3. Open module in each of these positions and change the class for FontAwesome icons. Below is list of content of these modules as in our demo site:

    Web Design – position-1:

    <div class=&quot;ja-special-content&quot;>
    <div class=&quot;circle-icon background-1&quot;><i class=&quot;fa fa-desktop&quot;></i></div></p>
    <h4><a href="index.php?option=com_content&view=article&id=148&catid=84&Itemid=566">Web design</a></h4>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incid dunt ut labore et dolore magna aliqua.</p>
    <p><a class=&quot;btn btn-link&quot; href=&quot;index.php?option=com_content&view=article&id=148&catid=84&Itemid=566&quot;>Read more</a>
    </div>
    

    Security Proofed – position-2

    
    <div class=&quot;ja-special-content&quot;>
    <div class=&quot;circle-icon background-2&quot;><i class=&quot;fa fa-cloud&quot;></i> </div></p>
    <h4><a href="index.php?option=com_content&view=article&id=130&catid=84&Itemid=565">Cloud Solutions</a></h4>
    <p>There are many variations of passages of Lorem Ipsum available, but the majority have many suffered alteration in some form.</p>
    <p><a class=&quot;btn btn-link&quot; href=&quot;index.php?option=com_content&view=article&id=130&catid=84&Itemid=565&quot;>Read more</a>
    </div>
    

    Coding – position-3

    
    <div class=&quot;ja-special-content&quot;>
    <div class=&quot;circle-icon background-3&quot;><i class=&quot;fa fa-code&quot;></i></div></p>
    <h4><a href="index.php?option=com_content&view=article&id=132&catid=84&Itemid=562">Coding</a></h4>
    <p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.</p>
    <p><a class=&quot;btn btn-link&quot; href=&quot;index.php?option=com_content&view=article&id=132&catid=84&Itemid=562&quot;>Read more</a>
    </div>
    

    then change classes: fa-desktop, fa-cloud, fa-code with your desired icons (check out list of FA icons here: http://fontawesome.io/icons/ )

    cknowlan Friend
    #969459

    Bravo! Solved!

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

This topic contains 6 replies, has 4 voices, and was last updated by  cknowlan 8 years, 2 months ago.

The topic ‘Changing image inside of spots in Services Module’ is closed to new replies.