Moonsoft Software Solutions

Help with trying to modify CSS

Started 5 Aug 2013 · 5 replies

  1. moon_1193
    I try to modify CSS _cb_tools_send. And I can't understand how to make some changes.
    Now I have icon-envelope like on pic https://www.dropbox.com/s/d6814vcjqugcguu/pic.png
    I want to insert my own icon.

    Where should I make changes in CSS, if I turn OFF Import CSS Bootstrap?
    Joumla 3.
    Thank you.
  2. Moonsoft support
    Hi,
    with bootstrap disabled, you still have the own css stylesheets of the module, where you can modify the default styles. It's located here:

    /joomla/modules/mod_calcbuilder/assets/css/cbbootstrap.css

    regarding the send icon, it's styled using the icon-envelope classes, so you will find these classes to modify:


    .cb_bootstrap .icon-envelope {
    background-position: -72px 0;
    }
    .cb_bootstrap , .cb_bootstrap {
    background-image: url("../img/glyphicons-halflings.png");
    background-position: 14px 14px;

    .......

    there you can change the background image, and maybe remove the background position, which is intended to locate the right icon among the glyphicons set and center at the button.

    Hope this helps, regards
  3. moon_1193
    Before I asked you I tried to change by the same way.
    But I couldn't change it.
    If you take a look on picture pic2 https://www.dropbox.com/s/gxjdqt17y39orik/pic2.png
    you will see there is no glyphicons-halfling.png there.

    Thanks.
  4. Moonsoft support
    Hi,
    as we can see for your image you are debugging on the button tag, while the style you're trying to change is applying to the span inside. Please double-check the span class="icon-envelope" in order to see the glyphicons and styles related on your debugger.


    Regards
  5. moon_1193
    I solved the problem by inserting //img src="?php echo $pathImagenSend;?"// into "user.php - span - class icon_envelope ".

    Edited by moon_1193 - 06.08.2013 18:10

    Edited by moon_1193 - 06.08.2013 18:11
  6. Moonsoft support
    Ok,
    thank you for sharing.

    Regards

Still stuck?

Customers with an active license can open a support ticket.

Log in to open a ticket