WordPress.org

Ready to get started?Download WordPress

Forums

element.style editing (4 posts)

  1. GCAsset
    Member
    Posted 2 years ago #

    While using Firebug, I want to change the height of:
    <div id="slider" class="nivoSlider" style="position: relative; height: 360px; background: url("http://gcasset.com/wp-content/themes/theme1307/images/slider_img/slider-1.jpg") no-repeat scroll 0% 0% transparent;">

    But I don't know how to locate the proper file referencing the Firebug entry:
    element.style {
    background: url("http://gcasset.com/wp-content/themes/theme1307/images/slider_img/slider-2.jpg") no-repeat scroll 0 0 transparent;
    height: 360px;
    position: relative;
    }
    #slider {
    background: url("images/ajax-loader.gif") no-repeat scroll 50% 50% transparent;
    height: 310px;
    position: relative;
    width: 940px;

    GCAsset.com

  2. mikedev
    Member
    Posted 2 years ago #

    element.style means it is not specified by a CSS file. It is an inline style. It appears to be inserted by the Nivo Slider plugin you are using. Try changing the plugin settings for the height of your slideshow.

    If you don't like the vertical positioning of the slideshow, you could add margin or padding to id="slider" using your theme's style sheet.

  3. loveglass
    Member
    Posted 2 years ago #

    Hi wonder if anyone can help!
    I am using WP e-Commerce 3.8.7.6.2 bug fix release January 25, 2012 and here http://www.love-glass.co.uk/?page_id=10 I would like to change the size of image from 45px to 129px square. In the firebug is telling me to change the element.style., which I think? has to be change in my wpsc-category_widget.php??? I had a little fiddle with it but still no luck. Any hints what to do?
    Thank you in advance,
    LoveGlass

  4. mikedev
    Member
    Posted 2 years ago #

    loveglass,

    I am not familiar with WP e-Commerce, but there should be a setting in WP admin to change the product image size. Either that or actually change size of the real image. Do not edit any PHP files because your changes will be overwritten by the next update.

Topic Closed

This topic has been closed to new replies.

About this Topic