Jump to content


Photo
- - - - -

Browser specific CSS ie8 hiding Carousel section

carousel browser specific display none

  • Please log in to reply
29 replies to this topic

#21 londonremade

londonremade

    Member

  • Members
  • 14 posts
  • Country: Country Flag

Posted 08 April 2013 - 01:57 PM

No joy with absolute positioning. It's a stubborn little bugger!



#22 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 08 April 2013 - 03:11 PM

What code are you using now?

 

.ie8 .jcarousel-container {
    top-10000px !important;
    positionabsolute !important;
}


#23 londonremade

londonremade

    Member

  • Members
  • 14 posts
  • Country: Country Flag

Posted 08 April 2013 - 03:34 PM

Just tried that code (I had tried .section-carousel before and that didn't work) and it did the same as { display: none; }

 

The carousel was gone but so was the background image!



#24 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 08 April 2013 - 04:42 PM

Right.. install and activate the customize plugin... then add this code to the functions.php in that plugin:

 

 

Dont forget to add your pageid.

 

This disables the section completely for that page.



#25 londonremade

londonremade

    Member

  • Members
  • 14 posts
  • Country: Country Flag

Posted 11 April 2013 - 10:15 AM

Still no good. Didn't remove the Carousel.



#26 Danny

Danny

    Is Awesome!

  • Moderators
  • 15818 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 11 April 2013 - 10:22 AM

What Page ID did you add to the code ?



#27 londonremade

londonremade

    Member

  • Members
  • 14 posts
  • Country: Country Flag

Posted 11 April 2013 - 10:30 AM

358 - this is the ID of the 'newsletters' page, which is one of a couple that has the Carousel on. I thought it was best to try it on one to see if it worked before applying it to all the pages with the carousel on.



#28 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 11 April 2013 - 03:29 PM

What is the CSS you used that includes that page ID?



#29 londonremade

londonremade

    Member

  • Members
  • 14 posts
  • Country: Country Flag

Posted 11 April 2013 - 03:46 PM

I just checked the page source for the ID. I also have a 'get page ID' plugin that confirms that the ID for that page is 358.



#30 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 11 April 2013 - 05:13 PM

It does work, you just have a different template.

 

In the code i gave you change the word gamma to default

 

It appears twice.







Also tagged with one or more of these keywords: carousel, browser specific, display none