-
AuthorPosts
-
pressmar Friend
pressmar
- Join date:
- March 2008
- Posts:
- 119
- Downloads:
- 14
- Uploads:
- 51
- Thanks:
- 25
- Thanked:
- 4 times in 1 posts
August 9, 2013 at 2:58 pm #189593Hi
i like beranis a lot. But i don’t understand the logic in the header especially in responsive design. As you can see here http://test.pressmar.de/cnx i changed the logo span to 6 and reduced the span for position-1 and languageswitcher in a custom layout.php. With the custom.css this works great in wide, normal and xtablet responsive layout. In the smaller layouts tablet and mobile where the Navigation changes the design doesn’t work properly. It load for that layout a smaller logo. But there are appearing two logos and the search module disappears without beeing disable in the template.ini
Do you have a solution for the different height in the three moduls under the slideshow.
Thanks in advance
Oliver-
phong nam Friend
phong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
August 10, 2013 at 2:02 pm #501806Hi Oliver,
You should replace the below lines in @media (max-withd: 767px) query for the logo on tablet/mobile view:
.logo-image {
background-image: url("/cnx/images/cnx/logo/cnx_logo.png");
background-repeat: no-repeat;
height: 25px;
width: 200px;
}with
.logo-image h1 a {
height: 22px;
width: 200px;
background-size: 100% 100%;
}On the height of those 3 modules, you can open templates/ja_beranis/css/custom.css file, then find lines:
.t3-sl-2 .t3-spotlight-2 .t3-module {
margin-bottom: 0;
min-height: 160px;
overflow: hidden;
padding-bottom: 20px;
padding-top: 20px;
position: relative;
}Adjust the value of properties in the red lines until you get perfect.
1 user says Thank You to phong nam for this useful post
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 2 voices, and was last updated by phong nam 11 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum