Viewing 30 posts - 1 through 30 (of 35 total)
  • Author
    Posts
  • #321240

    Hi guys I have two issues –

    1) My customer has asked to set the services page as the home page. I do this settings – reading – front page static page and select services. I commit the save and I get settings saved. When I then visit the site the original homepage is still displayed?

    2) My customer would like to add some quality marks above the menu. How can I add items in a header above the menu?

    Thanks, K.

    #321989

    Hi CoolPenguinSays!

    1- Please go to Enfold theme options and set “Services” page as your frontpage and please do not select it in Settings > Reading tab.
    2- Please add following code to Functions.php file in Appearance > Editor

    `function put_stuff_before_main_content() {
    	echo "<div class='my-class'><img src='https://kriesi.at/wp-content/themes/kriesi/images/logo.png' /></div>";
    }
    
    add_action('ava_main_header', 'put_stuff_before_main_content');`

    You can reposition your elements using following code in Quick CSS field in Enfold theme options > General Styling tab

    .my-class { position: relative; left: 10px; top 20px; }

    Regards,
    Yigit

    #324228

    Thanks Yigit,

    1) duh, was used to doing it in reading. Worked fine.

    2) Has worked oddly, the text has been echoed on screen not an image as the path would suggest, is this the result you expected?

    Kevin.

    #324241

    Hey Kevin!

    Can you post the link to your website so we can see the issue? :)

    Cheers!
    Yigit

    #324259

    Right, I fixed the error, it was in the code, a missing leading bracket for the <img tag.

    However, the slider has not moved down with the page content and I really want the item above the menu, without impacting on the logo (which should remain at the top).

    So two issues –

    1) Slider does not move down with page content

    2) Can we add add the item above the menu without affecting the site logo

    Kevin.

    #324263

    Hi!

    Can you please post the link to your website? We need to see the issues to provide you an accurate solution

    Best regards,
    Yigit

    #324294

    Additionally, the new image does not resize like the logo. It’s not a tidy solution at the moment.

    #324297

    Hey!

    Kevin we are going to need to see your website to provide a solution. Can you please post the link to your website?

    Best regards,
    Yigit

    #324421
    #324673

    Hey!

    Can you post a screenshot/mockup of what would you want to achieve?

    Best regards,
    Josue

    #324898

    Of course see attached – Commercial Photography

    #325622

    Hi guys, I need an answer on this one please?

    #325623

    Hey!

    Please remove your image from header and add following code to Quick CSS in Enfold theme options under General Styling tab

    nav.main_menu {
    background-image: url(https://catenais.co.uk/wordpress/wp-content/uploads/2014/09/quality-marks.jpg);
    background-size: auto 60px;
    background-repeat: no-repeat;
    background-position: 50% 0;
    }
    .main_menu ul:first-child > li a {
    line-height: 145px;
    }

    I think that would be an easier solution

    Regards,
    Yigit

    #325630

    I am going to have to disable the the new code while I work on the site.

    #325632

    Great, never touched line 1062 and now the site is down –

    http://www.catenais.co.uk/wordpress/

    Please help.

    #325634

    Hi!

    Please access via FTP and remove the code from Functions.php file that is inside wp-content/themes/enfold folder

    Best regards,
    Yigit

    #325637

    OK, tried replacing functions.enfold with the original code and the error still occurs?

    #325638

    Hi!

    Have you made changes on functions-enfold.php file? If you did, please replace that file as well.

    Regards,
    Yigit

    #325674

    I have replaced functions-enfold.php from the master and it has worked. Thank you.

    Is the original question for this thread do-able?

    Kevin.

    #325676

    Hey!

    Glad it is working fine now Kevin. Have you tried adding the i posted here to Quick CSS field in Enfold theme options > General Styling – https://kriesi.at/support/topic/static-home-page-not-working-edit-above-header/#post-325623

    Regards,
    Yigit

    #325698

    Yes, but it did not work, the slider sat behind the header (I think I wrote all this in the thread?). So I had to remove the code to work on the site.

    Then I sent you a page mock up.

    I have noticed that the advanced styling is not working, if I set H5 to red for example nothing happens. Would you prefer that this goes in a separate thread?

    #325699

    SORRY

    Ignore that, no I did not see the second bit of code. Sincere apologies, I will look at adding it.

    #325710

    Hi Yigit, your solution does not solve the slider issue see here – http://catenais.co.uk/wordpress/

    Additionally, I have another issue, I want to use a custom menu. So I have included a widget area on the main page here – http://catenais.co.uk/wordpress/dee-shackles/ But look at the shackle menu it does not fit to the column width.

    I need to be able to use a custom menu on many of the site pages.

    Sorry I know that’s two issues in one thread –

    1) The background image for the logos has not worked (top right on all pages)

    2) The custom menu feature within a wigit does not work correctly. – http://catenais.co.uk/wordpress/dee-shackles/

    Kevin.

    #326182

    Hi Yigit, not sure when you work, can I get an answer on this? Especially the menu. The logo in the header thing is not as important. It’s a nice to have. The wigit menu is a must have.

    #326436

    Hi Kevin!

    Do you mind creating a temporary admin login and posting it here privately i can place the image on header for you?

    Cheers!
    Yigit

    #326584
    This reply has been marked as private.
    #326589

    Hi!

    Login credentials do not seem to work. Can you please check them once again?

    Best regards,
    Yigit

    #326611
    This reply has been marked as private.
    #326624

    Hey!

    Please review your website now. It would be better if you do not use shrinking header.

    Regards,
    Yigit

    #326636

    Hi Yigit thanks for having a look but that is not correct, the image now sites behind the main logo? that is where we were when I first raised this mate.

Viewing 30 posts - 1 through 30 (of 35 total)
  • The topic ‘Static Home Page Not Working / Edit above header’ is closed to new replies.