Tagged: site identity, site title
Dear Sir,
I have added following CSS to display title and sub title of the website but it is not showing. Please suggest css.
.site_description {
margin-top: -119px!important;
margin-left: 12px;
color: #333333;
}
span.site_title {
font-size: 26px;
color: #333333;
margin-left: 5px;
font-weight: 600
}
#header #header_main_alternate .container {
max-height: none;
height: auto;
width: 1550px;
margin-left: 140px;
margin-top: 1px;
}
span.avia-menu-text {
font-size: 12px;
color: black;
}
div#header_main_alternate {
margin-top:2px;
margin-bottom: 1px;
border: ;!important;
}
@media only screen and (max-width: 768px) and (min-width: 320px) {
span.site_title {
display: none;
}
p.site_description {
display: none;
}
}
Hi Dr Shiv,
I’m not sure I understand what you are trying to achieve, could you try to explain your intentions a bit further, or post a screenshot highlighting the results you are looking for please?
Best regards,
Rikard
Dear Rikard,
Thanks for your prompt reply.
I happy to inform you that after adding following coding in fucntion.php, my problem is resolved.
add_action( ‘ava_before_bottom_main_menu’, ‘enfold_customization_add_stuff_to_header’ );
function enfold_customization_add_stuff_to_header() {
echo ‘<span class = “site_title”>’.get_bloginfo(“name”).'</span>’; echo ‘<p class=”site_description”>’; echo ‘<span class = “site_description”>’.get_bloginfo(“description”).'</span>’; echo ‘</p>’;
}
You must be logged in to reply to this topic.