Change Slider Image Height

Discussion in 'ColorWay WordPress Theme' started by rostin, Feb 10, 2014.

  1. rostin

    rostin Member

    Joined:
    Nov 20, 2012
    Messages:
    88
    Likes Received:
    2
    Hi Inkthemes,

    I used this code to remove slide entry and next/previous icons:

    #slides a.next {
    display: none;
    }
    #slides a.prev {
    display: none;
    }

    .slide .slide-content.entry {
    display: none;
    }

    Then I changed the height of slides as follows:

    .slide-img {
    height:200px!important;
    }
    .slide-fix{
    height: 210px!important;
    }

    .slider-container {
    height: 250px!important;
    }

    .slides_control {
    min-height:248px!important;[/FONT]
    }

    Is this correct?
    I appreciate your comments.

    R.
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,
    Yes, the above code will work fine, only you have to remove "[/FONT]" from that code.
    Paste the code like given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.

    Code:
    .slide-img {
    height:200px!important;
    }
    .slide-fix{
    height: 210px!important;
    }
     
    .slider-container {
    height: 250px!important;
    }
     
    .slides_control {
    min-height:248px!important;
    }
     
     
  3. rostin

    rostin Member

    Joined:
    Nov 20, 2012
    Messages:
    88
    Likes Received:
    2
    Thank you Piyush,

    I think I have to change the the height for the following media setting in order to change the slide image size for tablets and other devices:

    @media only screen and (min-width: 768px) and (max-width: 960px)

    @media only screen and (min-width: 480px) and (max-width: 767px)

    @media only screen and (max-width: 480px)

    Am I correct?

    Thank you
    R.




     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107

Share This Page