Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #12525

    James X
    Participant

    Hi there, from the X shortcode list which generates an icon (not icon list), is there additional styling I can put into the shortcode to make the icon bigger, smaller, color, etc..? For example:

    [icon type=”adjust” size=”50px” color=”#ffffff”]

    I want to have icons of varying sizes for different elements. Can do? Thank you so much!

    –Jim

    #12526

    Rubin
    Keymaster

    Hey James,

    try following:

    [icon type="adjust" style="font-size: 50px; color: #FFFFFF;"]
    #12534

    James X
    Participant

    Perfect, thank you! Anyway to reduce the margins above/below the icons. Seems to produce a large gap between the icon and the next item beneath it. thank you for the ultra fast reply!!!

    #12535

    James X
    Participant

    Example: under the slider: http://wp.bluehouseinc.com/

    #12540

    Christian
    Moderator

    Hey James,

    You can add margin: 0 0 -20px; to style attribute so it would be:

    [icon type="adjust" style="font-size: 50px; color: #FFFFFF; margin: 0 0 -20px;"]

    The first 0 is the top margin and you can replace it with 1px or higher to adjust the top gap. The second 0 is for equal sides and -20px is for bottom gap.

    Hope that helps. 🙂

    #12544

    James X
    Participant

    That is awesome! Thank you sooo much. Helps tremendously and again thanks for the lightning fast support. Unreal.

    #12546

    Rubin
    Keymaster

    You’re welcome! 🙂

    #291231

    April Phoebe
    Participant

    Hi,

    With the release of cornerstone, I’d like to ask these:

    Is there a way to change the color of “text type” element in cornerstone?
    How do I go about changing the size of an icon with using cornerstone?

    #291773

    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! You can make changes with some custom CSS, can you please provide us the URL of your site so we could take a look and suggest you the solution accordingly.

    Thanks!

    #294449

    April Phoebe
    Participant
    This reply has been marked as private.
    #294851

    Rue Nel
    Moderator

    Hello There,

    You can use custom css to change the color of the text element. http://prntscr.com/7e3gwi

    Hope this helps.