rammohan.acharyadasa
Posts: 0
Joined: Thu Apr 05, 2012 5:03 pm

how to add custom css specefic to page

how to write custom css specific to page
i want to some thing linke this.
on page load, or page show event

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {

$("#idspan27 span").css('font-size', "30px");
}
i tried add above in custom javascript :
but it is not working

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

how to add custom css specefic to page

Yes, you can use page load or page show event. I can't tell you why it doesn't work.. but you need to make sure you have the right select. I'd test that first.

Return to “Issues”