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

    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;
    }
    }

    #1263446

    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

    #1263535

    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>’;

    }

    #1263678

    Hi,

    Great, I’m glad that you found a solution and thanks for sharing. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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

You must be logged in to reply to this topic.