WordPress.org

Ready to get started?Download WordPress

Forums

Category Icons
Responsive Category Icons (3 posts)

  1. sitchey
    Member
    Posted 12 months ago #

    Hi
    I have category icons installed and I was able to make the icons become use my feature banners and display the large ones on news posts using the following code in my blog template

    <div style="background-color:white;text-align:center">
    <?php if (function_exists('get_cat_icon')) get_cat_icon(); ?>
    </div>

    However while it is all working great, the prob I have is that I am using a responsive template. While the rest of the feature banners respond to browsers in the template, Im not able to get the feature banners that appear in the banner area for categories to do the same. Instead the images display but squash in to fit the width but doesn't alter the height so the images look off (my banners are 1400x350px).

    Does anyone have any ideas or suggestions as to what I could try?

    Thanks for your support

    http://wordpress.org/plugins/category-icons/

  2. alchymyth
    The Sweeper & Moderator
    Posted 12 months ago #

    what theme are you using?

    this might be an issue with the way your theme is formatting images in general;

    can you post a link to a web page where the problem can be inspected?

  3. sitchey
    Member
    Posted 12 months ago #

    Hi

    Im using WooThemes Whitelight theme. The site is being developed on a closed server so i can give you a link at the min. But if it helps I can upload a screenshot in mobile version?

    The theme is responsive and it is able to convert all other images to suit mobiles fine. It also scales down the feature banners I have installed on each page via the feature image option. The category icons are using the same type of banners but unlike the standard feature image its not changing both the width and height for the category images.

    Thanks for your input so far

Reply

You must log in to post.

About this Plugin

About this Topic