Need a quick fix.

Discussion in 'HTML & Website Design' started by Eagle Eyes, Dec 23, 2006.

Thread Status:
Not open for further replies.
  1. #1
    I have this problem.

    On the main site the navbar (highlighted in the picture) has the navbar perfectly done with the template like it suppose to, however when i integrated the template with the vbulletin script. The navbard caused problem and has a big font size, causing another line to be developed.

    Here is the site.
    http://www.pakistaniforces.com/

    Picture.
    [​IMG]

    Here is the vbulletin.
    http://www.pakistaniforces.com/forums/

    Picture
    [​IMG]

    Seeing if someone knows how to fix it. I will really appreciate it.

    Thank you! :)
     
    Eagle Eyes, Dec 23, 2006 IP
  2. vanductai

    vanductai Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i think you can solve this with css file, because i cannot see what it could be, but seek in the css where the tag name includes
    <div id="ja-topnav">
    <!-- Begin menu -->
    <ul id="ja-transmenu"><li>

    adjust the font name, padding value... and it can solve the problem.

    its just a conflict of vbb css & your customized css
     
    vanductai, Dec 24, 2006 IP
  3. Eagle Eyes

    Eagle Eyes Well-Known Member

    Messages:
    413
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #3
    These are the template css files.

    http://www.defence.pk/templates/ja_zibal_3_column/ja_transmenu/ja-transmenuh.css

    http://www.defence.pk/templates/ja_zibal_3_column/css/template_css.css

    http://www.defence.pk/templates/ja_zibal_3_column/css/colors/black.css

    Vbulletin style css

    http://www.defence.pk/forums/clientscript/vbulletin_css/1.css

    I could appreciate if you could help me. I still couldn't find anything, and i really want this to be fixed. If you need additional information please, let me know.

    Thanks.
     
    Eagle Eyes, Dec 26, 2006 IP
  4. vanductai

    vanductai Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    vanductai, Dec 31, 2006 IP
  5. pzn

    pzn Active Member

    Messages:
    575
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    70
    #5
    It looks like you are using different style sheets. One has a bigger font.
     
    pzn, Dec 31, 2006 IP
  6. Eagle Eyes

    Eagle Eyes Well-Known Member

    Messages:
    413
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #6
    Edit to what? The block you highlighted is the same one in the css file. There is nothing to edit? :confused:

    What do you think should be done to fix it?

    NOTE: When i removed the vbulletin css file, it worked perfectely. The menus were fixed, but then i need the vbulletin css in order to get the forum to look properly for its own things.

    vbulletin css:
    Thanks
     
    Eagle Eyes, Jan 1, 2007 IP
  7. vanductai

    vanductai Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    uhm i mean edit the value i highlighted in bold :) the block is the reference for you to lookup in the file.

    you have 2 options to do now:
    1./ make the padding shorter:

    padding: 0 15px;

    2./ set the font smaller:

    font-size: 10px;

    or

    font-size: 9px;

    good luck & happy new year :)
     
    vanductai, Jan 1, 2007 IP
  8. vanductai

    vanductai Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    for the option #2, please add the tag in #ja-transmenu li a {, it looks like this:

    #ja-transmenu li a { /* common styles for 1st level menu */
    padding: 0 25px;
    float: left;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 9px;
    border-right: 1px solid #333333;
    }
     
    vanductai, Jan 1, 2007 IP
  9. Eagle Eyes

    Eagle Eyes Well-Known Member

    Messages:
    413
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #9
    Alright i did what you told me to.

    The results are: http://www.defence.pk/forums/index.php

    Any other things that i can do to make it more similar?

    Thanks for all the help! Much appreciated.
     
    Eagle Eyes, Jan 1, 2007 IP
  10. vanductai

    vanductai Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    :) oh dud,

    just inscrease font-size & adjust the padding, you will get it fit :) dont be so worry, you can test it :)

    for example:
    or

     
    vanductai, Jan 1, 2007 IP
  11. vanductai

    vanductai Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    YIM me at vanductai im online now
     
    vanductai, Jan 1, 2007 IP
  12. Eagle Eyes

    Eagle Eyes Well-Known Member

    Messages:
    413
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #12
    Eagle Eyes, Jan 2, 2007 IP
  13. vanductai

    vanductai Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    :) why dont you try

    font-size: 11px; or font-size: 12px; or font-size: 13px;

    if its still not similar, try to add padding-top & padding bottom value :)

    you are welcome :) my YID: vanductai
     
    vanductai, Jan 3, 2007 IP
  14. vanductai

    vanductai Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    :) why dont you try

    font-size: 11px; or font-size: 12px; or font-size: 13px;

    if its still not similar, try to add padding-top & padding-bottom value :)

    you are welcome :) my YID: vanductai
     
    vanductai, Jan 3, 2007 IP
  15. Eagle Eyes

    Eagle Eyes Well-Known Member

    Messages:
    413
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #15
    Fixed bro!!!

    Check it out

    http://www.defence.pk/

    http://www.defence.pk/forums/

    It was a problem with the ".li" style, just took it out from the vbulletin style sheet, and bang! worked! :D

    Thanks a lot, without you. I wouldn't even have tried.

    Much appreciated!
     
    Eagle Eyes, Jan 3, 2007 IP
  16. vanductai

    vanductai Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    congratulation :)

    good luck with adsense :)
     
    vanductai, Jan 3, 2007 IP
Thread Status:
Not open for further replies.