Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
    Posts
  • brusamolino Friend
    #192949

    Hi
    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
    Luca

    TomC Moderator
    #515387

    You could try adding the following to the respective CSS for your logo . . .


    max-width:100% !important;
    height:auto;

    brusamolino Friend
    #515412

    if 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 Moderator
    #515511

    Hi Luca,

    Could you post your site URL here for a closer look? also set Optimize Css in template manager to No.

    brusamolino Friend
    #515639

    this is the url http://www.ssti.it/index.php

    the optimize css option is off

    thanks luca

    TomC Moderator
    #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 Friend
    #515642

    sent in private message

    thanks luca

    TomC Moderator
    #515643

    Try 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 Friend
    #515710

    Sorry
    but there isn’t any style.css in this site

    the 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 Luca

    TomC Moderator
    #515752

    The **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 Friend
    #517577

    Hi, 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 Moderator
    #517583

    Could you post your site’s URL here for further checking? also set Optimize CSS in template manager to No

    Juan Carlos Stauring Friend
    #517593

    Hi 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 Moderator
    #517599

    First 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.

    Juan Carlos Stauring Friend
    #517688

    It went great, thanks that was the solution for me 🙂

    jc

Viewing 15 posts - 1 through 15 (of 28 total)

This topic contains 28 replies, has 7 voices, and was last updated by  Saguaros 10 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum