Carbon theme custom button ajustment

Carpcatcher

Joined: 2004-02-02
Posts: 92
Posted: Wed, 2011-03-30 19:40

hi there

I'm using the carbon theme, and I found the next and previous buttons quite small on the photo.tpl, also its not really friendly on a iphone / ipad
as I see 18% of users visits my site with that device I found it better to make a fix for it, but easier talked than done…

but I don’t know where to search, I can’t find where there is a size limit, because if I upload a bigger button, its just crop it to the same size.
I have found the code below, but I don’t see any limitations.

	  <td>
	    <div class="buttonNext"><a href="{g->url params=$theme.navigator.next.urlParams}"
	     title="{g->text text="Next"}"></a></div>
	  </td>
	  {/if}

	  {if isset($theme.navigator.last)}
	  <td>
	    <div class="buttonLast"><a href="{g->url params=$theme.navigator.last.urlParams}"
	     title="{g->text text="Last"}"></a></div>
	  </td>
 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Wed, 2011-03-30 20:39

If uploads of larger version are indeed getting cropped and it is not that you see what you had before because the images are cached on your browser, go into your theme.css file edit the "buttonNext", "buttonLast" entries.

However, it is more likely to be the case that you are looking at cached versions of these and you should clear the browser cache or check the site using another machine.

--
dakanji.com

 
Carpcatcher

Joined: 2004-02-02
Posts: 92
Posted: Thu, 2011-03-31 06:25

thanks I i'll try this weekend.

 
RICHARD12323

Joined: 2012-01-28
Posts: 1
Posted: Sat, 2012-01-28 19:35

yes mine worked thanks