Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • matteo sitta Friend
    #188126

    Hello,
    i have two questions

    1.
    In the portrait and landscape mobile layout i need to set the the button (btn-navbar) inside of logo div or to the left of it.
    This is possible?

    2.
    In the landscape mobile layout I need to remove the the fixed position of header.

    Thanks

    pavit Moderator
    #495359

    Hi

    You can add all your needed configuration in your templatesja_briskcsscustom.css file

    example

    @media (max-width: 480px) {
    .logo-image a {
    background-image: url("../images/logo-mobile.png")!important;
    background-repeat: no-repeat;
    width: 280px;
    height: 59px;
    overflow: hidden;

    }
    and so on adding the other custom styles for your devices

    matteo sitta Friend
    #495361

    Hello – Ciao Pavit,

    Thanks!

    But if i change it with a css style inside of the admin layout panel i can’t show the new layout

    Where i can found the list of layout dimensions (Wide – Normal – Tablet …)?

    pavit Moderator
    #495364

    <blockquote>Where i can found the list of layout dimensions (Wide – Normal – Tablet …)?</blockquote>

    You can check in variables.less file in templatesja_briskless folder

    matteo sitta Friend
    #495368

    sorry but inside variables.less i dont found nothing of landscape and portrait of the mobile and tablet resolution

    matteo sitta Friend
    #495371

    My modify of the tablet are

    [PHP]/* tablet */ @media (min-width: 768px) and (max-width: 979px) {
    .ja-header .ja-mainnav {
    width: 20%;
    position: absolute;
    }
    .ja-header {

    border-bottom: none;

    }
    }[/PHP]

    but for the mobile i need to make a some difference before landscape and portrait

    pavit Moderator
    #495381

    I think that for this question would be better to pass all to Joomlart devs

    So please open a ticket for this and inside ticket copy the link to this thread

    Thanks

    Ninja Lead Moderator
    #495485

    This way will help you fix two the problem your request

    1) Move btn-navbar button beside logo

    Open templates/ja_brisk/css/custom.css file

    Add new script

    @media (max-width: 767px) {
    .t3-mainnav .navbar {
    margin-top: 0;
    position: relative;
    top: -70px;
    left: 80%;
    }
    }

    2) I’m not sure about the position in header page as you mention but you can try with

    @media (min-width: 768px) and (max-width: 979px {
    //add script you need to do
    }

    matteo sitta Friend
    #495553

    Hello Ninja,
    Thanks!
    in the end this is my css config for make a different logo for mobile/tablet and remove the fixed header for landscape mobile

    /* mobile */ @media (max-width: 767px) {
    .logo-image a {
    width: 300px;
    height: 62px;
    background-image: url(../../../images/themes/style/logo.png);
    }
    .ja-header .ja-mainnav {
    position: absolute;
    top:20px;
    }
    .ja-header {

    border-bottom: none;

    }

    }

    /* mobile */ @media (max-width: 480px) {
    .ja-header .ja-mainnav {
    position: relative;
    }
    .ja-header {

    border-bottom: 1px solid #ddd

    }
    }

    /* tablet */ @media (min-width: 768px) and (max-width: 979px) {
    .logo-image a {
    width: 200px;
    height: 41px;
    background-image: url(../../../images/themes/style/logo-mobile.png);
    }
    body {
    line-height: @BaseLineHeight/1.33;
    }
    }

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 3 voices, and was last updated by  matteo sitta 11 years, 5 months ago.

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