-
AuthorPosts
-
September 20, 2014 at 10:56 am #201474
Hi friends
In T3 b3 blank template, the responsive layout caters for 4 sizes. In the large size of 1260px, an image 1260px by 120px on the header will fit nice. Once we reduce page size to the smaller layout the image appears in unexpected way.
How can I stop using this image if user use a smaller page size? The image is placed from the Custom.css using .t3-header {background-image: url(“../images/pic1260-120.jpg”);} or better still how to have different jpg for different size?
One more question: What will be the best one size to fit all eg will 600×80 does it.
September 21, 2014 at 11:37 pm #550291Hi guys
Using max-width: 100%, instead of width: 100% does not work.
So let me rephrase my questionAs we can see in the “small” responsive layout, the “mainnav” stops display taken over by the offset-canvas side bar. If we apply this, logically speaking, we can just turn off the image at the .header. I can’t find the spot to do this. Please help.
scannergmbh Friendscannergmbh
- Join date:
- September 2012
- Posts:
- 28
- Downloads:
- 22
- Uploads:
- 11
- Thanked:
- 4 times in 1 posts
September 22, 2014 at 7:16 am #550350Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
September 23, 2014 at 4:03 am #550456Adam and S.gmbh – thanks.
I think i will go into bootstrap responsive.utilities way.
Meanwhile unsure how our german friend pointer leads to, care to clarify a bit.
Scott Lavelle FriendScott Lavelle
- Join date:
- November 2010
- Posts:
- 266
- Downloads:
- 16
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 64 times in 27 posts
September 24, 2014 at 12:34 am #550554This is probably not exactly the code, but should give you an idea. When I’m using the Bootstrap 3 version of the template, I add something like this to the bottom of my custom.css
@media (max-width: 768px) {
header#t3-header {
background: #330000 none;
}
}
This would say to make the header have a background color of a medium red with no image for the T3 Header section when the resolution is 768px or less.
Does this help?
Scott Lavelle - Technical Resource Solutions, LLC
Certified Joomla AdministratorSeptember 24, 2014 at 2:04 pm #550617 -
AuthorPosts
This topic contains 7 replies, has 4 voices, and was last updated by fuzmic 10 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum