• Resolved mcgeesadie

    (@mcgeesadie)


    I want to add a a custom, customizr-slider, to my page templates (not the homepage and prefrably not on the blog pages)… can someone point me to which PHP file(s) to edit I want to height to be 154px

    Im also happy adding a static image to the page as long as it bleeds… I have a slider in place here, but obviously its way too tall for the image

    https://ztoaventures.com/2/alternative-investments/

    HELP!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You don’t need to edit php to add a slider to a page. Simply use the built-in functionality. There’s a button at the bottom of every page: “Add a slider to this post/page”. Switch that on and take it from there.

    If you want to make you slider smaller use this code:

    .carousel .item {
     line-height: 250px;
     overflow: hidden;
     min-height: 300px;
     width: 1170px;
    }

    put the height you want behind “min-high”

    hope that helped ??

    Thread Starter mcgeesadie

    (@mcgeesadie)

    It helps but I want the slider on the homepage to be a different size…. how can I control this on a page level?

    Add .page-id-6 to the code above. That is:

    .carousel .item .page-id-6{
    ...
    }

    This will target your alternative-investments page above. To get the ids of other pages, use firebug.https://www.youtube.com/watch?v=3KdNRZS-uSg”>firebug.

    Thread Starter mcgeesadie

    (@mcgeesadie)

    .carousel .item .page-id-6 {
    line-height: 154px;
    overflow: hidden;
    min-height: 154px;
    }

    doesn’t seem to be working…. any ideas?

    Thread Starter mcgeesadie

    (@mcgeesadie)

    I got it.. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘custom, customizr-slider on a page level’ is closed to new replies.