-
AuthorPosts
-
deanperry Friend
deanperry
- Join date:
- May 2008
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
July 10, 2014 at 8:49 am #199567I have been setting up a new site and loving JA Purity iii.
I am trying to work out the best / most efficient way to display the red banner on the site, preferably on a red background as I have it.
However, I want the header image to scale for iPad/iPhone view.
I have previously been able to achieve a similar outcome with JA Elastica but can’t seem to translate that knowledge across to JA Purity iii.
This is the site – showing both the masthead and also small logo in the menu. I want one or the other!http://stephenjollyforrichmond.com/beta/fighting-for-issues-that-matter/stop-the-east-west-toll-road
Can one of you learned folk point me in the right direction?
Thanks in anticipation!
deanperry Frienddeanperry
- Join date:
- May 2008
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
July 10, 2014 at 10:25 am #541861OK, I’ve managed to get the logo resizing above the menu but I still have 2 issues:
1. I would like red either side of the logo itself, above the menu
2. I need it not to overlap the menu below when the screen gets smallerNazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
July 11, 2014 at 11:19 am #541976Please open file: /templates/your_template_name/css/custom.css (if not exists, pls create new one) then add this rule:
/* Custom header */
.wrap.navbar.navbar-default.t3-mainnav {
background: red;
}
.t3-navbar.navbar-collapse.collapse {
width: 100%;
background: black;
}
.logo-image > a > img {
width: 100%
}/* On Small Screen*/
@media (min-width: 320px) and (max-width: 990px) {
.navbar {
min-height: 0;
}
.logo {
position: static;
}
}
Let me know if this helps
deanperry Frienddeanperry
- Join date:
- May 2008
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
July 11, 2014 at 1:45 pm #541983Fixed it myself. Ended up being best solved by adjusting the div to “col-md-12” and adding “max-width:100%” etc
<div class=”jumbotron jumbotron-primary masthead”>
<div class=”col-md-12″ align=”left”>
<p><img src=”images/header.png” alt=”” border=”0″ style=”max-width:100%;height:auto;”/></p>
</div>
</div>1 user says Thank You to deanperry for this useful post
September 2, 2014 at 6:06 pm #547999<em>@deanperry 436066 wrote:</em><blockquote>OK, I’ve managed to get the logo resizing above the menu but I still have 2 issues:
1. I would like red either side of the logo itself, above the menu
2. I need it not to overlap the menu below when the screen gets smaller</blockquote>could you make a tuto to explain how you manage to put the logo on the top of the menu and to make it responsive? Please.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 3, 2014 at 4:05 am #548069@thatoo: I see the request from @deanperry and you are difference, look at the screenshot: http://stephenjollyforrichmond.com/
Can you give me the URL of your site and screenshot with description on it? I will help you to check it further.
September 3, 2014 at 7:55 am #548103No, this result would be good for me. Except for the red color 🙂
He has a banner, centred on the top of his page, and it’s responsive. Perfect.
My website is http://www.ecoleworldycamino.org. However, I’m trying also a solution with the logo and css, and for that someone else is helping me.
I don’t know what is best, use the logo and css or delete the logo solution and add a picture on the top. I’m trying on localhost on my computer.September 3, 2014 at 11:30 am #548137It’s ok, I found the solution for this way, putting an image on top of the main menu, centre it and make it responsive.
I had to create two new module position, allocate them two module of html code with one big and one small picture.
And what I was missing to centre it was to add
.col-sm-3 {
width : 100%
}
in custom.cssIf someone whant more help, I detail more in this thread : http://www.joomlart.com/forums/topic/a-banner-above-everything/#post-548116
Good luck.
deanperry Frienddeanperry
- Join date:
- May 2008
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
May 3, 2015 at 2:41 am #569190Sorry Thatoo – for some reason I missed your question here. I must try to turn on notifications from this site
deanperry Frienddeanperry
- Join date:
- May 2008
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
May 3, 2015 at 2:41 am #734279Sorry Thatoo – for some reason I missed your question here. I must try to turn on notifications from this site
July 26, 2015 at 8:11 pm #644933I did apply a custom.css to customise the template for a full image logo as in http://stephenjollyforrichmond.com. Unfortunately the top of the main body goes under the masthead and navigation bar.
Really need help.
See attached imageJuly 26, 2015 at 8:11 pm #743561I did apply a custom.css to customise the template for a full image logo as in http://stephenjollyforrichmond.com. Unfortunately the top of the main body goes under the masthead and navigation bar.
Really need help.
See attached imageNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
-
AuthorPosts
This topic contains 25 replies, has 5 voices, and was last updated by ayamba 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum