[resolved] Height limit of sliders (4 posts)

  1. questas_admin
    Posted 1 year ago #

    If I use the following code to limit height of sliders for individual pages, what should I put to do the same thing for sliders in catagories?

    would it be .catagory instead of .page-id?

    I am using the snippet "displaying-a-slider-in-your-category-pages"

    .page-id-41 .carousel .item {
    line-height: 50px;
    overflow: hidden;
    min-height: 161px;

  2. nikeo
    Theme Author

    Posted 1 year ago #

    Hi @questas_admin,
    the WordPress body_class() (which is included in the Customizr theme) provides many contextual CSS classes for this purpose.
    For the categories, you can use :


    Hope this helps

  3. rdellconsulting
    Posted 1 year ago #

    And note the spelling of catEgory. Saw someone else make that mistake this week.

  4. questas_admin
    Posted 1 year ago #

    I guess I wont be winning the game "Are You Smarter than a 5th Grader"
    Time to learn to spell.

    Thanks again, that worked.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.