WordPress.org

Forums

Sixteen
Slider size (5 posts)

  1. edujuan
    Member
    Posted 1 year ago #

    So, I'm using this theme for my website. It is far from done, but here's my link: melonuit.ca . In any case, I took out the slider, but it's because it was too big before. Is there any possible way of changing the height and width of the slider?

  2. jerome.queneuder
    Member
    Posted 1 year ago #

    Hello,

    You can past this CSS code on custom CSS :

    .slider-wrapper {
    width: 640px;
    height: 480px;
    border-top: solid 4px #5e5340;
    border-bottom: solid 4px #5e5340;
    margin-bottom: -40px;
    background: #111;
    box-shadow: 1px 1px 5px #4a4a4a;
    }

    Modify width and height for your need

    Jérôme

  3. Artaul
    Member
    Posted 1 year ago #

    I tried to paste these lines inside style.css and editor-style.css but the image size didn't change.
    Is there another way to insert custom CSS code ?

  4. jerome.queneuder
    Member
    Posted 1 year ago #

    In my case I use jetpack plugin. But you can edit main.css of sixteen theme but it's not recommended because any theme update erase the previous files or you can create child theme if you don't want a plugin.

  5. evtihii
    Member
    Posted 6 months ago #

    This code is works. But, you need paste it on the way "Sixteen settings - > Layout Settings - > Custom CSS"

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic