WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
[resolved] custom, customizr-slider on a page level (7 posts)

  1. mcgeesadie
    Member
    Posted 11 months ago #

    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

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

    HELP!

  2. ElectricFeet
    Member
    Posted 11 months ago #

    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.

  3. catcher10lp
    Member
    Posted 11 months ago #

    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 :)

  4. mcgeesadie
    Member
    Posted 11 months ago #

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

  5. ElectricFeet
    Member
    Posted 11 months ago #

    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.http://www.youtube.com/watch?v=3KdNRZS-uSg">firebug.

  6. mcgeesadie
    Member
    Posted 11 months ago #

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

    doesn't seem to be working.... any ideas?

  7. mcgeesadie
    Member
    Posted 11 months ago #

    I got it.. Thanks!

Reply

You must log in to post.

About this Theme

About this Topic