Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #7041

    I want to call externally the following code


    <!– custom styles set at your backend–>

    <style type=’text/css’>

    html, .contentSlideControlls .activeItem, .contentSlideControlls a:hover, #top .main_menu .avia_mega ul ul li, #top .main_menu .avia_mega >li >ul li, .widget_links li, .widget_meta li, .widget_archive li, .widget_categories li, .widget_pages li, .pagination .current, .pagination a, .button, .dropcap2, #commentform #submit, #header, #top #wrap_all .main_menu .avia_mega .open-mega-a, #top .main_menu .avia_mega>.current-menu-item >a, .widget_nav_menu li, #top .main_menu .avia_mega>li:hover>a, .main_menu .avia_mega1, .main_menu .avia_mega2, .main_menu .avia_mega3, .main_menu .avia_mega4, .main_menu .avia_mega5, .main_menu .avia_mega>li>ul, .main_menu .avia_mega>li>ul ul, #footer, #footer a, #socket, #footer_extra_text_div, .date-container, #top .slidecontrolls .activeItem




    <!– end custom styles–>


    Could you please help me in calling this code externally using


    <link rel=”stylesheet” type=”text/css” href=”http://something.com/wp-content/themes/brightbox/css/customstyles.css”>





    in your header.php just add

    <link rel="stylesheet" type="text/css" href="http://something.com/wp-content/themes/brightbox/css/customstyles.css">


    <link rel="stylesheet" href="<?php echo get_bloginfo('template_url'); ?>/css/shortcodes.css" type="text/css" media="screen"/>

    I do suggest you use a different method though. In the CSS folder you’ll find custom.css, in this you can just paste the actual CSS code. You can also edit this file through your Editor in your Dashboard.

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

The topic ‘Call the custom Css externally using rel tag’ is closed to new replies.