Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #240475

    Hi !

    By advance, I apologize for any bad english and unknown language (it’s french) in the screenshots. I also apologize for any part of my comment that would be a result of my lack of knowledge.

    My text is made of 2 critiques and 1 question.

    1) Critique : There are 2 ways of modifying title bar settings, and I think it’s bad :
    – this first way, on ‘change page’, via sidebar : IMAGE 1
    – this second way, via Enfold settings : IMAGE 2

    As you can see, I can specify 2 different behaviors at the same time, and that is not good. By the way, the one showing at frontend is the first.

    2) Critique :What you call “header” in Header theme options is not absolutely clear and precise. “Sticky header” refers only to the main part of header, and not to “Header title and breadcrumbs”, and this “header title” is also called “title bar” and is filled with “page” title. This is confusing.

    3) Question : On this fixed part of the header, I would like to display some text, something like a title and a subtitle. How could I do it ?

    • This topic was modified 10 years, 9 months ago by philippe2812.
    #241088

    Hey philippe2812!

    1) Thanks for the feedback but that’s not true. You can’t set two different options for the same entry. If you want to use the default settings (“Enfold settings” configuration) just select the “Default Layout” option. If you want to overwrite the default layout then you can select another option like “Display title and breadcrumbs”, etc.

    2) Thanks for the feedback. Tbh I think we won’t change this though because renaming the settings would confuse the existing theme users who are already familiar with the options.

    3) You could add a sub-text to the logo – see: https://kriesi.at/support/topic/disappear-title/

    Best regards,
    Peter

    #241902

    Hi, Dude, thanks for your reply !

    1) So, what I understand : modifying elements via “Enfold Settings” is something like “class” writing in CSS, and modifying via “change page” sidebar is something like “id” writing. Am I right ?

    2) ok !

    3) Unfortunately, this doesn’t work for me. According to Inpector, elements are here, but can’t be seen.

    #242076

    Hi!

    1) Yes, the option on the editor page will just affect the page you edit. The “Enfold > Theme Options” settings will be used for all pages if no special settings are set on the editor page for a certain page/post.

    3) Ok, the Kriesi’s logo code is not compatible with the “right logo” layout. You can try to use the “ava_after_main_menu” action to add some custom text to the header. Use it like:

    
    add_action('ava_after_main_menu', 'kriesi_logo_addition');
    function kriesi_logo_addition()
    {
     echo "My Text";
    }
    

    and instead of My Text insert your custom text.

    Regards,
    Peter

    #244105

    Hi !

    Thanks for your reply !
    Your solution gives a “My Text” right above my menu, and no css could resolve it, so I suggest a mix of the “disappear title” post you gave in link, and the action you just suggested. So it gives :
    – in functions.php :

    add_action('ava_after_main_menu', 'kriesi_logo_addition_2');
    function kriesi_logo_addition_2()
    {
    	?>
    	<strong class='logo-title'>My Text</strong>
    	<strong class='logo-subtitle logo-title'>Another custom text line</strong>
    	<?php	
    }

    – in Quick CSS :

    #top .logo-title {
    transition: opacity 0.4s ease-out;
    -moz-transition: opacity 0.4s ease-out;
    -webkit-transition: opacity 0.4s ease-out;
    -o-transition: opacity 0.4s ease-out;
    font-size: 12px;
    color: #000;
    position: absolute;
    left: 500px;
    top: -7px;
    opacity: 1;
    white-space: nowrap;
    }
    
    #top .logo-subtitle {
    color: #aaa;
    top: 7px;
    }
    
    #top .subtext {
    float: left;
    position: relative;
    }
    
    #top .header-scrolled .logo-title {
    opacity: 0;
    filter: alpha(opacity=0);
    }
    

    So you have something like this.

    #244243

    Hi!

    Great, glad it works now :)

    Regards,
    Peter

    #253649

    Hi again !

    I’m coming back because now I would like the logo title to be in font “lobster”, so I tried this in quick CSS :

    #top .logo-title {
    transition: opacity 0.4s ease-out;
    -moz-transition: opacity 0.4s ease-out;
    -webkit-transition: opacity 0.4s ease-out;
    -o-transition: opacity 0.4s ease-out;
    font-family: lobster;
    font-size: 12px;
    color: #000;
    position: absolute;
    left: 500px;
    top: -7px;
    opacity: 1;
    white-space: nowrap;
    }
    

    but it didn’t work…

    Could you please help me ?

    #254229

    Hey!

    1) Afaik “lobster” is not a standard font – do you load the font files with @font-face somewhere?

    2) Can you post a link to your website please?

    Regards,
    Peter

    #254606

    Hi ! Thanks for answering !

    1) EDIT : Well, forget it : with welcomed 2.7 version and the advanced styling tool, I was able to do it painless !

    2) Cerisier

    • This reply was modified 10 years, 8 months ago by philippe2812.
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Title in fixed part of header’ is closed to new replies.