• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

sizing for iconicons

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › sizing for iconicons

This topic is: resolved
  • This topic has 3 replies, 2 voices, and was last updated 6 years, 4 months ago by eastsidekeith.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 22, 2017 at 1:23 pm #206843
    eastsidekeith
    Member

    I am trying to increase the size of a chat box icon in the bottom right text box. I have put the link in the functions file and found the icon I want but I would like it much larger. How is that done?

    Here's the code I am using:
    <div class="content-box"><i class="ion-ios-chatboxes-outline" style=" 38px"></i>
    <h3>Blog</h3>
    Lorem ipsum dolor sit amet, theous illusma minous consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

    </div>

    http://faithwalkersdev.com/
    May 23, 2017 at 4:40 am #206861
    Victor Font
    Moderator

    I wouldn't use an inline style to adjust the width/jeight of an element if I could avoid it. I would change the CSS in the style sheet. To which CSS to adjust, you need to learn how to use your browser's inspect tool. https://victorfont.com/how-to-use-your-browsers-inspect-tool/

    Your inline style is not correct. style=" 38px" is not correct syntax. I'm not familiar with iconicons, but if it is an icon font, the syntax is style="font-size: 38px". If it is a raster or svg image, you would use style="width: 38px; height: auto;"


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 23, 2017 at 8:06 am #206876
    eastsidekeith
    Member

    Hi Victor,
    Thanks for commenting on my question. Actually what I posted was not used. Here is what is on the site:

    <div class="content-box"><i class="ion-ios-chatboxes-outline" style="font-size; 96px"></i>
    <h3>Blog</h3>
    Lorem ipsum dolor sit amet, theous illusma minous consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

    </div>

    and you can see that the inline style does not work. There is probably better way to deal with what I want to happen and I think someone out there knows the answer. Hopefully I will hear soon.

    Keith

    May 23, 2017 at 8:09 am #206877
    eastsidekeith
    Member

    Hi Victor, sorry this is what is actually there:

    <div class="content-box"><i class="ion-ios-chatboxes-outline" style="font-size: 96px;"></i>
    <h3>Blog</h3>
    Lorem ipsum dolor sit amet, theous illusma minous consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

    </div>

    and you can see it works now. Thanks for noticing my syntax mistake.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble