-
AuthorPosts
-
brusamolino Friend
brusamolino
- Join date:
- January 2009
- Posts:
- 273
- Downloads:
- 75
- Uploads:
- 70
- Thanks:
- 56
- Thanked:
- 10 times in 2 posts
December 13, 2013 at 12:41 pm #192949Hi
i’ve to put a logo bigger than your… is possible to make it “responsive” (i’d like that on mobile device it’s resized automatically)Can you help me?
thanks
LucaTomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 13, 2013 at 6:06 pm #515387You could try adding the following to the respective CSS for your logo . . .
max-width:100% !important;
height:auto;
brusamolino Friendbrusamolino
- Join date:
- January 2009
- Posts:
- 273
- Downloads:
- 75
- Uploads:
- 70
- Thanks:
- 56
- Thanked:
- 10 times in 2 posts
December 13, 2013 at 9:59 pm #515412if i add these properties inside logo style it’s disappear
this is the css in obelisk template
.logo-image a {
background-image: url(“../../../images/logo.png”);
background-repeat: no-repeat;
background-position: left center;
width: 428px;
height: 70px;
}Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 16, 2013 at 4:28 am #515511Hi Luca,
Could you post your site URL here for a closer look? also set Optimize Css in template manager to No.
brusamolino Friendbrusamolino
- Join date:
- January 2009
- Posts:
- 273
- Downloads:
- 75
- Uploads:
- 70
- Thanks:
- 56
- Thanked:
- 10 times in 2 posts
December 16, 2013 at 9:46 pm #515639TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 16, 2013 at 9:56 pm #515641<em>@brusamolino 402237 wrote:</em><blockquote>this is the url http://www.ssti.it/index.php
the optimize css option is off
thanks luca</blockquote>
Your site is password protected. Can you send temporary login/password via private message?
brusamolino Friendbrusamolino
- Join date:
- January 2009
- Posts:
- 273
- Downloads:
- 75
- Uploads:
- 70
- Thanks:
- 56
- Thanked:
- 10 times in 2 posts
December 16, 2013 at 10:07 pm #515642sent in private message
thanks luca
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 16, 2013 at 10:32 pm #515643Try This . . .
Within file path –> /site/css/style.css
at line 102, you will see the following:
#logo {
float: left;
margin: 5px 0 0;
text-align: left;
}Try modifying as follows:
#logo {
max-width: 100%;
height: auto;
float: left;
margin: 5px 0 0;
text-align: left;
}Save Changes — Clear Cache — Refresh Page
brusamolino Friendbrusamolino
- Join date:
- January 2009
- Posts:
- 273
- Downloads:
- 75
- Uploads:
- 70
- Thanks:
- 56
- Thanked:
- 10 times in 2 posts
December 17, 2013 at 10:25 am #515710Sorry
but there isn’t any style.css in this sitethe css file are under /templates/ja_obelisk/css/themes/sstiblutheme
and there isn’t any
#logo {
float: left;
margin: 5px 0 0;
text-align: left;
}can you check it?
Best regards
thanks LucaTomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 17, 2013 at 5:02 pm #515752The **simplest** way is to give it a max-width of 100% – but this will mean that the full sized image is served to mobiles, so you should optimize your image as much as possible.
Running the image through http://www.smushit.com should help you to further optimize the image size.
Juan Carlos Stauring FriendJuan Carlos Stauring
- Join date:
- September 2014
- Posts:
- 250
- Downloads:
- 27
- Uploads:
- 12
- Thanks:
- 53
- Thanked:
- 19 times in 3 posts
January 6, 2014 at 10:52 pm #517577Hi, I’m trying to accomplish this as well but with no success after following this thread. Here is what I tried:
to /templates/ja_obelisk/css/themes/christmas file template.css
.logo-image a {
background-image: url("../../../images/logo.png");
background-repeat: no-repeat;
background-position: left center;
max-width:100%;
height:auto;
}help is appreciated :-[
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 7, 2014 at 1:17 am #517583Could you post your site’s URL here for further checking? also set Optimize CSS in template manager to No
Juan Carlos Stauring FriendJuan Carlos Stauring
- Join date:
- September 2014
- Posts:
- 250
- Downloads:
- 27
- Uploads:
- 12
- Thanks:
- 53
- Thanked:
- 19 times in 3 posts
January 7, 2014 at 2:12 am #517593Hi thank you, yes it is set to off:
http://www.vfldestinationweddings.com/at the moment I do not have the above code on the template.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 7, 2014 at 2:56 am #517599First of all, please take a BACKUP of your site because my following suggest will require compiling from Less to Css which will override all current Css files in your site (except for ‘custom.css’ file)
Then opening the file: /templates/ja_obelisk/less/style-responsive.less
At approx line 304, you will see this code:
// T3 Header
// ---------
.t3-header {
.....................................
......................................logo-image {
width: 110px;
height: 30px;
padding: (@T3globalPadding/4) 0;
margin-right: @T3globalMargin;a {
background-position: left center;
}
}
change it to:
// T3 Header
// ---------
.t3-header {
.....................................
......................................logo-image {
width: 100%!important;
height: auto!important;
padding: (@T3globalPadding/4) 0;
margin-right: @T3globalMargin;a {
background-position: left center;
}
}
Then go to backend > template manager > click button Compile LESS to CSS. Let me know how it goes.
1 user says Thank You to Saguaros for this useful post
Juan Carlos Stauring FriendJuan Carlos Stauring
- Join date:
- September 2014
- Posts:
- 250
- Downloads:
- 27
- Uploads:
- 12
- Thanks:
- 53
- Thanked:
- 19 times in 3 posts
January 7, 2014 at 7:06 pm #517688It went great, thanks that was the solution for me 🙂
jc
1 user says Thank You to Juan Carlos Stauring for this useful post
-
AuthorPosts
This topic contains 28 replies, has 7 voices, and was last updated by Saguaros 10 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum