Slider Image 1/style.css not changing

Discussion in 'Infoway WordPress Theme' started by scofield99, Sep 5, 2013.

Thread Status:
Not open for further replies.
  1. scofield99

    scofield99 New Member

    Joined:
    Mar 25, 2013
    Messages:
    4
    Likes Received:
    0
    I have uploaded a custom image to be in the slider 1 position, but it has custom height:

    950px × 75px

    I know the ideal size is 950 x 363, but I've modified the style.css file in "showcase-content img" tag to make the height 75. Still its trying to scale my image to 950px × 363px, which is why it looks all distorted:

    http://www.360institute.com/my360/

    I just upgraded from theme 5.5 to the new 6.3. In the previous version I just modified:

    #featured .ui-tabs-panel img

    and that worked fine, but you guys have changed things up with 6.3.

    Still, I used Firebug and found the right area in the style.css file to modify -- the "showcase-content img" tag. But as you can see if you view source, its still forcing the image to be 363 in height, not my custom 75px.

    I opened up style.css in the wordpress editor, edited the height to 75px, it says it saved the change, but when you view source on the live site the change is not there.
     
  2. scofield99

    scofield99 New Member

    Joined:
    Mar 25, 2013
    Messages:
    4
    Likes Received:
    0
    Don't know why this worked but it did:

    I modified a line in the front-page.php file to hardcode the image to use:

    <?php } else { ?>
    <a href="http://www.inkthemes.com"><img src="<?php echo get_template_directory_uri(); ?>/images/11.png" alt="Slide 1"></a>
    <?php } } ?>
    </div>

    So instead of using /images/1.png, it is now using /images/11.png.

    FYI I uploaded a copy of my image earlier and it was named 1.png, but when I uploaded it a 2nd time (just to see if that was the issue) it changed the name to 11.png. Again I have no idea why this worked, this part of the code above is the "else" part saying to use a default image if there is no custom image available, and I had a custom image already, its confusing, but whatever its working.

    Weird. Case closed.
     
Thread Status:
Not open for further replies.

Share This Page