-
AuthorPosts
-
May 1, 2014 at 2:21 pm #197281
Hi there
I am struggling to resize the logo on my website.
I have followed the tutorial and created custom.css
I have pasted:
@media screen and (max-width: 1000px) {
.logo {
position: static !important;
text-align: center !important;}
.navbar-default .navbar-header .navbar-toggle, .navbar-toggle {
margin-top: -40px !important;}
}
But nothing changes?
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
May 1, 2014 at 2:40 pm #533132please post your site Url
May 2, 2014 at 5:52 am #533246http://www.sacredknowledge.org.uk
UN: Ahsan
PW: ah54n86The UN and PW are to access the site and not the admin CP
May 2, 2014 at 6:22 am #533248I have tried to follow the guide here too: http://t3-framework.org/documentation/bs3-customization#logo-custom with no luck.
So reverted the less files back to original.TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 2, 2014 at 3:26 pm #533308<em>@ahsanashraf 424783 wrote:</em><blockquote>I have tried to follow the guide here too: http://t3-framework.org/documentation/bs3-customization#logo-custom with no luck.
So reverted the less files back to original.</blockquote>To what dimensions are you wanting to resize your logo?
Perhaps you can throw together a mock-up screenshot of how you want your logo to display?
1 user says Thank You to TomC for this useful post
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 2, 2014 at 3:29 pm #533309I managed to resize your logo by modifying the following CSS rule:
.logo-image .logo-img {
max-height: 40px;
}What I did was increase the pixel value – say to 60px (as a test)
I do not know how large you are wanting your logo to be. Depending on how large, you may also need to adjust the header area a bit to fit it in nicely.
You can do the same thing (testing how it will look) by playing around with the CSS via an online web development tool such as FIREBUG – which is exactly what I did (and it worked).
Hope That Helps
1 user says Thank You to TomC for this useful post
May 2, 2014 at 3:38 pm #533313Hi Tom
Thank you for your help. Wish you the best of prosperity.
Do I copy:
.logo-image .logo-img {
max-height: 40px;
}in to custom.css ?
PS I want it to be w434 × h150
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 2, 2014 at 3:54 pm #533317Okay, this will involve modifying a couple of different CSS rules – both of which you will put in your custom.css file . I’ve made a few adjustments that seem to work a bit better in terms of spacing/display . . . .
.logo-image .logo-img {
height: 120px;
margin-left: -110px;
width: 350px;
}.logo-image .logo-img {
height: 120px;
}
SAVE CHANGES – CLEAR CACHE – REFRESH PAGE
Does this get you a little closer to what you were thinking?
1 user says Thank You to TomC for this useful post
May 2, 2014 at 3:59 pm #533318Thanks Tom
In my custom.css which is in size the folder ja_biz I have the following code:
@media screen and (max-width: 1000px) {
.logo-image .logo-img {
height: 120px;
margin-left: -110px;
width: 350px;
}.logo-image .logo-img {
height: 120px;
}}
.navbar-default .navbar-header .navbar-toggle, .navbar-toggle {
margin-top: -40px !important;}
}
body {
font-family: “Helvetica Neue”, Helvetica, Arial, sans-serif, quadranta; }However, still no luck?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 2, 2014 at 4:01 pm #533319The correct file path for your custom.css file should be –> /templates/ja_biz/css/custom.css
1 user says Thank You to TomC for this useful post
May 2, 2014 at 4:14 pm #533323Hi Tom
Progress made for the first time with your kind help.
However, the logo is squashed and the menu bar needs to be big.
My logo size should be:
289×100 and I liked the logo being wear it was before, now it has gone to the edge on the left?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 2, 2014 at 4:16 pm #533324I suggested the repositioning of the logo – given the dimensions we were working with – so that it wouldn’t overlap the main-navigation menu items. You can easily adjust this by simply modifying (or removing) the “margin-left” property within . . .
.logo-image .logo-img {
height: 120px;
margin-left: -110px;
width: 350px;
}1 user says Thank You to TomC for this useful post
May 2, 2014 at 4:22 pm #533325Again thanks for your kind support.
.logo-image .logo-img {
height: 100px;
width: 289px;
}Is all I have in custom.css however, the logo looks very squashed and on the left?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 2, 2014 at 4:24 pm #533326<em>@ahsanashraf 424878 wrote:</em><blockquote>Again thanks for your kind support.
.logo-image .logo-img {
height: 100px;
width: 289px;
}Is all I have in custom.css however, the logo looks very squashed and on the left?</blockquote>
What would be very helpful is if you could throw together a mock-up screenshot of how you want your logo to look/display on the home page. That way, I will be better able to understand what you are envisioning and, thus, better able to provide more concise recommendation(s) for you. 🙂
1 user says Thank You to TomC for this useful post
May 2, 2014 at 4:35 pm #533327AuthorPostsThis topic contains 28 replies, has 4 voices, and was last updated by Ninja Lead 10 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum