-
AuthorPosts
-
September 18, 2014 at 3:27 pm #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.
September 19, 2014 at 5:11 pm #321989Hi 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,
YigitSeptember 24, 2014 at 1:29 pm #324228Thanks 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.
September 24, 2014 at 1:44 pm #324241Hey Kevin!
Can you post the link to your website so we can see the issue? :)
Cheers!
YigitSeptember 24, 2014 at 2:07 pm #324259Right, 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.
September 24, 2014 at 2:12 pm #324263Hi!
Can you please post the link to your website? We need to see the issues to provide you an accurate solution
Best regards,
YigitSeptember 24, 2014 at 2:44 pm #324294Additionally, the new image does not resize like the logo. It’s not a tidy solution at the moment.
September 24, 2014 at 2:47 pm #324297Hey!
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,
YigitSeptember 24, 2014 at 5:32 pm #324421September 24, 2014 at 11:51 pm #324673Hey!
Can you post a screenshot/mockup of what would you want to achieve?
Best regards,
JosueSeptember 25, 2014 at 12:15 pm #324898September 26, 2014 at 3:06 pm #325622Hi guys, I need an answer on this one please?
September 26, 2014 at 3:15 pm #325623Hey!
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,
YigitSeptember 26, 2014 at 3:25 pm #325630I am going to have to disable the the new code while I work on the site.
September 26, 2014 at 3:31 pm #325632Great, never touched line 1062 and now the site is down –
http://www.catenais.co.uk/wordpress/
Please help.
September 26, 2014 at 3:33 pm #325634Hi!
Please access via FTP and remove the code from Functions.php file that is inside wp-content/themes/enfold folder
Best regards,
YigitSeptember 26, 2014 at 3:36 pm #325637OK, tried replacing functions.enfold with the original code and the error still occurs?
September 26, 2014 at 3:42 pm #325638Hi!
Have you made changes on functions-enfold.php file? If you did, please replace that file as well.
Regards,
YigitSeptember 26, 2014 at 4:29 pm #325674I have replaced functions-enfold.php from the master and it has worked. Thank you.
Is the original question for this thread do-able?
Kevin.
September 26, 2014 at 4:34 pm #325676Hey!
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,
YigitSeptember 26, 2014 at 5:40 pm #325698Yes, 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?
September 26, 2014 at 5:41 pm #325699SORRY
Ignore that, no I did not see the second bit of code. Sincere apologies, I will look at adding it.
September 26, 2014 at 6:20 pm #325710Hi 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.
September 28, 2014 at 5:57 pm #326182Hi 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.
September 29, 2014 at 12:07 pm #326436Hi Kevin!
Do you mind creating a temporary admin login and posting it here privately i can place the image on header for you?
Cheers!
YigitSeptember 29, 2014 at 3:08 pm #326584This reply has been marked as private.September 29, 2014 at 3:13 pm #326589Hi!
Login credentials do not seem to work. Can you please check them once again?
Best regards,
YigitSeptember 29, 2014 at 3:35 pm #326611This reply has been marked as private.September 29, 2014 at 4:01 pm #326624Hey!
Please review your website now. It would be better if you do not use shrinking header.
Regards,
YigitSeptember 29, 2014 at 4:09 pm #326636Hi 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.
-
AuthorPosts
- The topic ‘Static Home Page Not Working / Edit above header’ is closed to new replies.