Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10175

    been using !important as well…no changes take place..i think something is preventing it?

    #67159

    Hi!

    Can you post a link please (and leave the css code in custom.css).

    Regards,

    Peter

    #67160

    http://www.noochibeads.com


    /* Have fun adding your style here :) – PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

    /*image border * /

    #top .slideshow {

    border: 4px solid #333333;

    }

    /* end border */

    /* footer */

    <?php

    global $avia_config;

    //reset wordpress query in case we modified it

    wp_reset_query();

    //checks which colors the footer and socket have and if they are the same to the body a border for separation is added

    $extraClass = “”;

    $body_bg = avia_get_option(‘boxed’) == ‘boxed’ ? avia_get_option(‘bg_color_boxed’) : avia_get_option(‘bg_color’);

    $footer = avia_get_option(‘footer_bg’);

    $socket = avia_get_option(‘socket_bg’);

    if($body_bg == $footer || $footer == “”) $extraClass .= ‘footer_border ‘;

    if($socket == $footer || $socket == “”) $extraClass .= ‘socket_border ‘;

    /**

    * The footer default dummy widgets are defined in folder includes/register-widget-area.php

    * If you add a widget to the appropriate widget area in your wordpress backend the

    * dummy widget will be removed and replaced by the real one previously defined

    */

    ?>

    <!– ####### FOOTER CONTAINER ####### –>

    <div class=’container_wrap <?php echo $extraClass; ?>’ id=’footer’>

    <div class=’container’>

    <?php

    //create the footer columns by iterating

    $columns = avia_get_option(‘footer_columns’);

    $firstCol = ‘first’;

    switch($columns)

    {

    case 1: $class = ”; break;

    case 2: $class = ‘one_half’; break;

    case 3: $class = ‘one_third’; break;

    case 4: $class = ‘one_fourth’; break;

    case 5: $class = ‘one_fifth’; break;

    }

    //display the footer widget that was defined at appearenace->widgets in the wordpress backend

    //if no widget is defined display a dummy widget, located at the bottom of includes/register-widget-area.php

    for ($i = 1; $i <= $columns; $i++)

    {

    echo “<div class=’$class $firstCol’>”;

    if (function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Footer – column’.$i) ) : else : avia_dummy_widget($i); endif;

    echo “</div>”;

    $firstCol = “”;

    }

    ?>

    </div>

    </div>

    <!– ####### END FOOTER CONTAINER ####### –>

    <!– ####### SOCKET CONTAINER ####### –>

    <div class=’container_wrap <?php echo $extraClass; ?>’ id=’socket’>

    <div class=’container’>

    <span class=’copyright’>© <?php _e(‘© Copyright 2012′,’avia_framework’); ?> – ‘><?php echo get_bloginfo(‘name’);?>Unique Jewlery By Marc Rothschild</span>

    <ul class=”social_bookmarks”>

    <?php

    //contact icon

    $contact_page_id = avia_get_option(‘email_page’);

    if (function_exists(‘icl_object_id’)) $contact_page_id = icl_object_id($contact_page_id, ‘page’, true); //wpml prepared

    if($contact_page_id) echo “<li class=’mail’>“.__(‘Send us Mail’, ‘avia_framework’).”“;

    if($dribbble = avia_get_option(‘dribbble’)) echo “<li class=’dribbble’>“.__(‘Follow us on dribbble’, ‘avia_framework’).”“;

    if($twitter = avia_get_option(‘twitter’)) echo “<li class=’twitter’>“.__(‘Follow us on Twitter’, ‘avia_framework’).”“;

    if($facebook = avia_get_option(‘facebook’)) echo “<li class=’facebook’>“.__(‘Join our Facebook Group’, ‘avia_framework’).”“;

    ?>

    <!– end social_bookmarks–>

    </div>

    </div>

    <!– ####### END SOCKET CONTAINER ####### –>

    </div><!– end wrap_all –>

    <?php

    $bg_image = avia_get_option(‘bg_image’) == “custom” ? avia_get_option(‘bg_image_custom’) : avia_get_option(‘bg_image’);

    if($bg_image && avia_get_option(‘bg_image_repeat’) == ‘fullscreen’)

    { ?>

    <!–[if lte IE 8]>

    <style type=”text/css”>

    .bg_container {

    -ms-filter:”progid:DXImageTransform.Microsoft.AlphaImageLoader(src=’<?php echo $bg_image; ?>’, sizingMethod=’scale’)”;

    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=’<?php echo $bg_image; ?>’, sizingMethod=’scale’);

    }

    </style>

    <![endif]–>

    <?php

    echo “<div class=’bg_container’ style=’background-image:url(“.$bg_image.”);’></div>”;

    }

    ?>

    <?php

    /* Always have wp_footer() just before the closing </body>

    * tag of your theme, or you will break many plugins, which

    * generally use this hook to reference JavaScript files.

    */

    avia_option(‘analytics’, false, true, true);

    wp_footer();

    ?>

    </body>

    </html>

    /* footer */

    #67161

    Hi Zstopa,

    Is there a reason you have all of that in your custom.css?

    As for the custom nav attributes, they look like they are working to me. Can you point me to a specific attribute that isn’t getting applied as you’d like?

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

The topic ‘custom css for nav attributes (color, hover, decoration etc) has no effect’ is closed to new replies.