Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • benteveo Friend
    #167435

    Hi!

    I’m working on a project with JA Pyro’s template and I have done several changes on the header. The visualization looks fine if you see the site with zoom 100%. The problem is that if zoom in or out, the header does no fit the rest of the content. I think this might be fixed with some CSS code, but I need some help. Any idea?

    Thanks in advance!

    pritam Friend
    #406476

    Hello benteveo ,

    To Problem with Header when changing zoom

    Find this code to /templates/ja_pyro/css/template.css line no.1152

    #ja-header {
    background-color: #ECEEEB;
    border-left-color-ltr-source: physical;
    border-left-color-rtl-source: physical;
    border-left-color-value: #626262;
    border-left-style-ltr-source: physical;
    border-left-style-rtl-source: physical;
    border-left-style-value: solid;
    border-left-width-ltr-source: physical;
    border-left-width-rtl-source: physical;
    border-left-width-value: 2px;
    border-right-color-ltr-source: physical;
    border-right-color-rtl-source: physical;
    border-right-color-value: #626262;
    border-right-style-ltr-source: physical;
    border-right-style-rtl-source: physical;
    border-right-style-value: solid;
    border-right-width-ltr-source: physical;
    border-right-width-rtl-source: physical;
    border-right-width-value: 2px;
    line-height: normal;
    margin-bottom: -2px;
    margin-left: 351px;
    margin-right: 0;
    margin-top: -37px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    position: relative;
    width: 957px;
    z-index: 10;
    }

    Change this code to :-

    #ja-header {
    background-color: #ECEEEB;
    border-left-color-ltr-source: physical;
    border-left-color-rtl-source: physical;
    border-left-color-value: #626262;
    border-left-style-ltr-source: physical;
    border-left-style-rtl-source: physical;
    border-left-style-value: solid;
    border-left-width-ltr-source: physical;
    border-left-width-rtl-source: physical;
    border-left-width-value: 2px;
    border-right-color-ltr-source: physical;
    border-right-color-rtl-source: physical;
    border-right-color-value: #626262;
    border-right-style-ltr-source: physical;
    border-right-style-rtl-source: physical;
    border-right-style-value: solid;
    border-right-width-ltr-source: physical;
    border-right-width-rtl-source: physical;
    border-right-width-value: 2px;
    line-height: normal;
    margin-bottom: -2px;
    margin-left: 351px;
    margin-right: 0;
    margin-top: -37px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    position: relative;
    width: 957px;
    z-index: 10;
    right:198px;/*set pixel as per reqiurement*/
    }

    Val Kupstas Friend
    #406479

    The best would be to change this line here:

    margin: -37px 0 -2px 351px;

    Into this here:

    margin: -37px auto -2px auto;

    And DO NOT add the right:198px;/*set pixel as per reqiurement*/

    As the solution above with add right:198px; would need to be adjusted pr screen resolution and will not work out in the long run.

    benteveo Friend
    #406716

    Thanks to both of you for answering!

    And SPECIAL thanks to Val Kupstas because that worked great!

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

This topic contains 4 replies, has 3 voices, and was last updated by  benteveo 13 years, 2 months ago.

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