📄 Viewing: /home/navyug/public_html/wp-content/themes/education-base/header.php
<?php
/**
* The header for our theme.
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Acme Themes
* @subpackage Education Base
*/
/**
* education_base_action_before_head hook
* @since Education Base 1.0.0
*
* @hooked education_base_set_global - 0
* @hooked education_base_doctype - 10
*/
do_action( 'education_base_action_before_head' );?>
<head>
<?php
/**
* education_base_action_before_wp_head hook
* @since Education Base 1.0.0
*
* @hooked education_base_before_wp_head - 10
*/
do_action( 'education_base_action_before_wp_head' );
wp_head();
?>
<style>
.latest_new{
/* width: 100%;*/
/*overflow: hidden;*/
background: #00adef3b; /* #f9f9f9;*/
color: white;
position: relative;
font-size: 15px;
line-height: 1.59;
/* margin-top:10px;
margin-bottom:20px; */
height: 60px;
}
.latest_new::before {
content: 'News';
position: absolute;
top: 0;
bottom: 0;
background:#003a6a;
z-index: 1;
font-size: 35px;
padding:
0 0.5em;
}
.latest_new1{
/* width: 100%;*/
overflow: hidden;
background: yellow;
color: white;
position: relative;
font-size: 35px;
line-height: 1.5;
}
.news-container ul{
display: flex;
/* overflow-x: auto;*/
gap: 30px;
white-space: nowrap;
/* padding: 10px;*/
background: #00adef00 !important; /* #f9f9f9 */
list-style: none;
margin: 8px 0 1.5em 3em;
}
.news-container li{
min-width: 200px;
/* background: #00adef3b; #eee; */
/*padding: 10px; */
border: 1px solid #ccc;
flex-shrink: 0;
}
/*.latest_new:before {
content: 'News';
position: absolute;
/* top: 0;
bottom: 0;*/
background: #000;
z-index: 1;
padding: 0 0.5em;
}*/
/*.latest_new ul {
visibility: hidden;
list-style: none;
margin-left: 0;
padding-left: 0;
white-space: nowrap;
display: inline;
}
.latest_new li {*/
/* padding-left: 1em;*/
/* text-indent: -1em;
display: inline;
}
.latest_new li:before {
content: " ";
padding-right: 5px;
width: 1em;*/
/* height: 1.4em;*/
/* display: inline-block;*/
/* width: 100px; */
/* background-size: 1em;
position: relative;
bottom: -0.3em; */
/* margin-right: 1em;*/
/*opacity: 0.6;
}*/
</style>
</head>
<body <?php body_class();?>>
<?php
/**
* WordPress Default Hook
* Triggered after the opening <body> tag.
* wp_body_open hook
*
* @since WordPress 5.2
*
*/
do_action( 'wp_body_open' );
/**
* education_base_action_before hook
* @since Education Base 1.0.0
*
* @hooked education_base_site_start - 20
*/
do_action( 'education_base_action_before' );
/**
* education_base_action_before_header hook
* @since Education Base 1.0.0
*
* @hooked education_base_skip_to_content - 10
*/
do_action( 'education_base_action_before_header' );
/**
* education_base_action_header hook
* @since Education Base 1.0.0
*
* @hooked education_base_header - 10
*/
do_action( 'education_base_action_header' );
/**
* education_base_action_after_header hook
* @since Education Base 1.0.0
*
* @hooked null
*/
do_action( 'education_base_action_after_header' );
/**
* education_base_action_before_content hook
* @since Education Base 1.0.0
*
* @hooked null
*/
do_action( 'education_base_action_before_content' );
← Back to directory