Page 1 of 1

how to add custom css specefic to page

Posted: Fri Nov 23, 2012 2:45 pm
by rammohan.acharyadasa

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


how to add custom css specefic to page

Posted: Fri Nov 23, 2012 3:47 pm
by maxkatz

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.