The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Controlling the Navigation with CSS
#1
I have been looking everywhere for this answer and can't seem to find it so I am giving up and asking for help.

I have the nav component inside of a div id with a class for the nav ul but I am not sure how to style the li for the un-ordered list. Can anyone help? Here is my codE.

Code:
<div id="navbar">
<ul class="nav">
    <?php get_navigation(return_page_slug()); ?>
</ul>
</div>

Code:
#navbar a ul {
    list-style-type: none;
    display: inline;
    height: 69px;
    width: 624px;
    left:311px;
    font-family: 'ChunkFive', Arial, sans-serif;
    color: #11B4E0;
    
}


.nav ul  a{
    list-style-type: none;
    display: inline;
    font-family: 'ChunkFive', Arial, sans-serif;
    color: #11B4E0;
    font-size:24px;
}


.current li {
list-style-type: none;
    display: inline;
     font-family: 'ChunkFive', Arial, sans-serif;
  color: #11B4E0;
  font-size:24px;

  

}
.current a{
  list-style-type: none;
  display: inline;
  color: #11B4E0;
  font-family: 'ChunkFive', Arial, sans-serif;
  font-size:24px;

}

I tried styling for class current but that only does the current page link. I think something is overriding it but I am not sure.
Reply


Messages In This Thread
Controlling the Navigation with CSS - by fordp86 - 2012-10-03, 01:00:52
Controlling the Navigation with CSS - by xrmarcis - 2012-10-03, 03:03:12
Controlling the Navigation with CSS - by mvlcek - 2012-10-03, 09:27:49
Controlling the Navigation with CSS - by fordp86 - 2012-10-03, 17:52:46
Controlling the Navigation with CSS - by xrmarcis - 2012-10-03, 21:01:54
Controlling the Navigation with CSS - by shawn_a - 2012-10-03, 21:55:29
Controlling the Navigation with CSS - by fordp86 - 2012-10-03, 23:07:25
Controlling the Navigation with CSS - by xrmarcis - 2012-10-04, 02:08:40
Controlling the Navigation with CSS - by fordp86 - 2012-10-04, 23:16:27
Controlling the Navigation with CSS - by shawn_a - 2012-10-04, 23:51:49
Controlling the Navigation with CSS - by shawn_a - 2012-10-04, 23:53:33
Controlling the Navigation with CSS - by xrmarcis - 2012-10-05, 03:25:12
Controlling the Navigation with CSS - by fordp86 - 2012-10-05, 17:34:32
Controlling the Navigation with CSS - by xrmarcis - 2012-10-06, 03:19:42



Users browsing this thread: 2 Guest(s)