Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • rlandrade Friend
    #200806

    Hello!

    I am creating a university portal using the template “Ja-University”. I have a specific problem that has been tested in other templates and I still could not solve.

    I need to put a horizontal bar of the Government of Brazil around the site and this bar contains: script, html and css. I put it using a tutorial that taught in the government website, however I believe that there is some configuration template that is preventing a full view of the horizontal bar, I think the problem is a CSS, but I can´t solve the problem.

    Follow the link of How come using the Government horizontal bar:

    http://epwg.governoeletronico.gov.br/barra/

    Follows the recommendation to use the HTML / CSS and JSCRIPT:

    * I put the code in the Custom Code Template

    codes:

    Paste this code right after the opening <body> tag.

    #<div id = “bar-Brazil” style = “background: # 7F7F7F, height: 20px; padding: 0 0 0 10px; display: block;”>
    #<ul id = “menu-bar-temp” style = “list-style: none”>
    #<li style = “display: inline; float: left; padding-right: 10px; margin-right: 10px; border-right: 1px solid #EDEDED”> <a #href = “http://brasil.gov.br” style = “font-family: sans, sans-serif text-decoration: none; color: white”> Brazilian #Government Portal </a> </ li>
    #<li> <a style = “font-family: sans, sans-serif text-decoration: none; color: white;” href = #”http://epwg.governoeletronico.gov.br/barra/atualize.html”> Update your bar Government </a> </ li>
    #</ ul>
    #</ div>

    Paste this code at the end before the closing tag <body>. Good practice guides that JavaScript code that modify the page at load time must be declared at the end of the <body>.

    #<script src = “// barra.brasil.gov.br/barra.js” type = “text / javascript”> </ script>

    See how the horizontal bar of the Government is shown in Template Ja-university:

    http://146.164.9.69/portal/

    Can anyone help me with this?

    Nazario A Friend
    #547377

    @rlandrade,

    Please try to open file: /templates/ja_university_t3/css/custom.css then add this rule:

    div#wrapper-barra-brasil {
    height: 100%;
    }
    #barra-brasil .brasil-flag {
    height: 100%;
    }

    Let me know if this helps

    rlandrade Friend
    #547897

    Nazario

    I created the file custom.css and put the code and save but doesn´t happened. Please help-me again.

    Ninja Lead Moderator
    #548223

    I just checked and see the horizontal bar is working fine on your site.

    Have you sorted it out? Let me know if you need help


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

This topic contains 4 replies, has 3 voices, and was last updated by  Ninja Lead 10 years, 2 months ago.

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