-
AuthorPosts
-
August 26, 2014 at 12:40 pm #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:
Can anyone help me with this?
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
August 27, 2014 at 3:24 am #547377Please 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
September 1, 2014 at 5:29 pm #547897Nazario
I created the file custom.css and put the code and save but doesn´t happened. Please help-me again.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 4, 2014 at 4:16 am #548223I 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 user says Thank You to Ninja Lead for this useful post
AuthorPostsViewing 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 ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Problem with BAR in JA-University
Viewing 4 posts - 1 through 4 (of 4 total)