Jump to content
Sign in to follow this  
cybersphere

Request for iPhone specific Custom CSS coding

Recommended Posts

cybersphere

Hi all, I have iPhone specific Custom CSS code on a site I am working on: http://justitia.com.au/web'>http://justitia.com.au/web. It looks like this:

/* Sets blog post font size and line spacing for iPhone */
	.iphone p{
	font-size: 0.55em;
	line-height: 1.6em;
	}

If you use above code, in conjunction with 'Browser Specific CSS' (Pagelines > Store > Plugins > Add Plugins > Top Free), blog font text can be adjusted without impacting the font size on desktop browser or on iPad (I found iPad to display text in correct size in relation to other text, but iPhone had issue on my site). QUESTION 1 ---------- Please visit this page on iPhone: http://justitia.com.au/web'>http://justitia.com.au/web/disability-discrimination/discrimination-against-epileptic-employee ...when you scroll down to the bottom of the page, you will note the bullet point text is massive, in comparison to blog post text. Can anyone assist me with a CSS code to change that text size? QUESTION 2 ---------- While, I'm asking, I would also like to reduce the font size of my home page: http://justitia.com.au/web'>http://justitia.com.au/web. Again, it looks fine on iPad and Desktop but only issue I have is with iPhone. n9hXX.jpg If you a CSS coding guru, I would appreciate your assistance. Paul

Share this post


Link to post
Share on other sites
kastelic
I don't have an iphone but you could try: [code] .iphone li{ font-size: 0.55em; line-height: 1.6em; } [/code]

Share this post


Link to post
Share on other sites
cybersphere
You are THE man, Kastelic! That worked a treat!! I don't suppose I can trouble you for that 2nd code for the bit I circled in the above screen shot?

Share this post


Link to post
Share on other sites
catrina
I don't use an iPhone either but this is worth a shot: [code].iphone div.metabar {font-size: #em; line-height: #em;}[/code] Change the CSS properties as you see fit and add more if you wish (i.e. color: #xxxxxx, font-weight: bold/normal, etc.)

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
cybersphere
Thank you Catrina! It worked for the font size. Line-height does not appear to make any difference. Paul

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×