Minor tweak to tablet layouts

I’d like to make the layout on a tablet slightly more cohesive.

Right now, when I view the site on a landscape tablet, I see it like this

……………………………Slideshow…….. …………………….
Position-4 Block…Position-6 Block…EMPTY SPACE

What I would like to see, is
……………………………Slideshow…….. …………………….
Position-4 Block…Position-2 Block…Position-6 Block

Also when I view the site on a tablet in portrait, I see it like this

………………….Slideshow………………. …
Position-4 Block……….EMPTY SPACE

What I would like to see, is
………………….Slideshow………………. …
Position-4 Block……….Position-2 Block

Is this possible at all?

3 answers

Profile photo of Seoki Lee 1510.00 $tone September 29, 2014
Public

Please follow our answers for your questions:

On landscape tablet it only can change to:
Slideshow Block…Position-2 Block…Position-3 Block
Position-4 Block…Position-5 Block…Position-6 Block
http://awesomescreenshot.com/05e3kel225

Or:
……………………………Slideshow…….. …………………….
Position-4 Block…Position-5 Block…Position-6 Block
http://prntscr.com/4rcjm4

On portrait tablet, it can be:
………………….Slideshow………………. …
Position-2 Block……….Position-3 Block
Position-4 Block……….Position-5[6] Block
http://awesomescreenshot.com/0e93kepm7e

#1
Profile photo of Seoki Lee 1510.00 $tone October 6, 2014
Public

To achieve that, you can edit files:

1. skin/frontend/default/jm_crafts/css/layout-normal.css
Remove this rule:

Code:

.bg-static-1, 
.bg-static-2 {
    display: none;
}
.jm-slideshow {
    width: 100%;
}

And add this rule:

Code:

.jm-slide-main-wrap,
.jm-slide-item {
	height: 480px !important;
    width: 715px !important;
}
.hot-products h4 {
	font-size: 150%;
}

2. /skin/frontend/default/jm_crafts/css/layout-tablet.css
Remove this rule:

Code:

.bg-static-1, 
.bg-static-4, 
.bg-static-2 {
    display: none;
}

Add this rule:

Code:

.bg-static-1, 
.bg-static-2 {
	margin: 20px 0 0 0;
    width: 50%;
}

.static-top .inner {
	float: none;
}

.static-top a {
    display: block;
}

.bg-static-4 {
	display: none;
}

#ja-tops2 .bg-static-2 {
	margin: 0;
}
#3

Please login or Register to Submit Answer

Written By

Comments