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 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 861 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
#2
This stuff gets tricky when you are working in classes and ID's

Here is a sample of how i did some styling for my nav menu. Always started off with the ID and then work the tags to format. When you get the basic stuff down then you add extras like .current to the li tag

Code:
#nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

            #nav ul li {
            --    display: block;
                padding: 0 12px 0 12px;
                float: left;
            }
        
                #nav ul li a {
                    display: block;
                    text-decoration: none;
                    color: #ffffff;
                --    border-top: 1px solid #ffffff;
                --    padding: 5px 15px 5px 15px;
                --    background: #2C5463;
                --    margin-left: 1px;
                    white-space: nowrap;
                }

                #nav ul li a:hover {
                    background: #007289;
                    box-shadow: inset 0px -10px 40px 0px #005B6D;
                }

This is what my div looks like in my template.

Code:
<div id="nav">
        <ul>
            <?php get_i18n_navigation(return_page_slug(), 0, 1, I18N_SHOW_Menu); ?>
        </ul>
    </div>

Hope this helps you get started.
Keeping it simple means making progress!!
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: 1 Guest(s)