Food Menu Not Looking Like Demo
Support Area › Forums › Foxy › Food Menu Not Looking Like Demo
- This topic has 25 replies, 2 voices, and was last updated 9 years, 4 months ago by Bill Robbins.
-
AuthorPosts
-
December 1, 2014 at 11:06 #24554Michael ChilcottParticipant
Hi,
I bought this theme last night and I am trying to set this up for a client of mine.
He runs a DJ/Wedding Officiant Business and I am trying to edit the theme.You can see here http://www.randh88.com/a-le-cart/
That the menu is spaced so much.
How Do I Fix this????
December 1, 2014 at 11:12 #24555Bill RobbinsModeratorGood Morning Michael,
Sorry for the trouble there. It looks like in copying the shortcode out of the instructions, the HTMl that’s there to allow the code to display properly made it through the copy/paste. Here’s how to take it out:
- Edit the page with the menu shortcode.
- In the top right corner of the content box there is a tab labeled text. Click on that.
- Remove this text before your shortcode:
<pre><code>
and this text after your shortcode:
</code></pre>
so that the only thing there is just the menu shortcode.
- Update your page.
See if that won’t bring back the expected spacing for you. Let me know if you have any trouble.
Have a great week,
BillDecember 1, 2014 at 11:24 #24556Michael ChilcottParticipantHi Bill,
Thank you that worked.
Also Instead of the Email thing on the top menu bar Could I have something like phone number and the Date and Time to Display instead..?
Also Since we are not a food Service, How Do I chance the Food to something else in the WP Admin
December 1, 2014 at 11:36 #24557Bill RobbinsModeratorHey Michael,
Glad that did the trick for you. You can edit the header so it uses something other than the MailChimp sign up. Here’s how to do that:
- Go to the Appearance section in your WordPress dashboard and choose Edit.
- From the list of files on your right, choose header.php and find this section:
<?php if(of_get_option('include_newsletter') == 'yes') { ?> <?php get_template_part( '/includes/newsletter' ); ?> <?php } ?>
- Right below that add this:
<p id="header-text">Your text goes here</p>
(Be sure to copy that code directly from the support site and not the notification email.)
Replace the
Your text goes here
with whatever you’d like to have in your header. - Save your changes.
That should give you custom text in your header.
For the services you can change the URL slugs in the theme options page. Just make sure to save your permalinks again after you make those changes so they don’t give you not found errors on the front end.
If you’d like to change the labels, there is a plugin called “Admin Menu Editor” (https://wordpress.org/plugins/admin-menu-editor/) that claims to let you do that. I haven’t used it in some time, but it has good reviews at wp.org with lots of downloads, so it would seem to be a good place to start.
Take care,
BillDecember 1, 2014 at 11:51 #24558Michael ChilcottParticipantHow Do I make it automatically tell the Date and Time for EST. We are based in London Ontario
December 1, 2014 at 11:53 #24559Bill RobbinsModeratorThe date and time functions are really picky.. Write out an example that shows exactly how you’d like it to be and I’ll send it back.
December 1, 2014 at 11:57 #24560Michael ChilcottParticipantI did what you said but not working…
<?php if(of_get_option('include_newsletter') == 'yes') { ?> <?php get_template_part( '/includes/newsletter' ); ?> <p id="header-text">(226)374-2745</p> <?php } ?>
For the Date and Time.
I would like it to the top bar left hand side saying
TOP BAR LEFT Today Is: December 01 2014 Time: 12:56PM Top Bar Right (800)555-5555
December 1, 2014 at 12:18 #24561Michael ChilcottParticipantAlso I wanted to inform you that your video section for Foxy does not work.
there is a php error
December 1, 2014 at 12:19 #24562Bill RobbinsModeratorThe code needs to go after that section (below in the text). It would be like this:
<?php if(of_get_option('include_newsletter') == 'yes') { ?> <?php get_template_part( '/includes/newsletter' ); ?> <?php } ?> <p id="header-text">(226)374-2745</p>
For the date and time, find this spot in the header.php file:
<div class="header-content clearfix">
Right after that, add this:
<div id="date-time"> <?php date_default_timezone_set('EST'); echo 'Today Is ', date('F d Y'); echo ' Time: ', date('g:hA'); ?> </div>
and save your changes. You’ll also need to go to the Theme Options page and choose the Styling tab. Scroll down to the Custom CSS box and add this:
p#header-text { float: right; position: relative; top: 5px; } #date-time { float: left; position: relative; top: 5px; }
and save your changes. That should give you the date and time on the left and the phone number on the right. If you need the phone number on the right hand side of the social icons. Then place the snippet for it just above this instead:
<?php get_template_part( 'layouts/header-links' ); ?>
Let me know if you have trouble,
BillDecember 1, 2014 at 12:24 #24563Bill RobbinsModeratorVideo section? There is a featured video widget that’s part of the theme…is what you’re running into trouble with?
December 1, 2014 at 12:25 #24564Michael ChilcottParticipantHi Bill,
Sorry the video help section for this theme.
Also if you look at the site now the top menu bar has become larger.
December 1, 2014 at 12:27 #24565Michael ChilcottParticipantThe Number is not going to the right of the Social media ICONS
December 1, 2014 at 12:29 #24566Bill RobbinsModeratorI think the paragraph margin is getting us there. Add this to the Custom CSS too:
p#header-text { margin-bottom: 0; }
If you need the phone number on the right hand side of the social icons. Then place the snippet for it just
above
this instead of the other placement:<?php get_template_part( 'layouts/header-links' ); ?>
Bill
December 1, 2014 at 12:32 #24568Michael ChilcottParticipantAbove Where Bill.
the header file or css
December 1, 2014 at 12:32 #24569Bill RobbinsModeratorI see what you mean by video section. Looks like an old link. They are now on the support home page just below the search bar. I updated the link to match. Thanks 🙂
December 1, 2014 at 12:33 #24570Bill RobbinsModeratorAbove that spot in the header.php file.
December 1, 2014 at 12:35 #24571Michael ChilcottParticipantIts adding two FB icons
<?php get_template_part( 'layouts/header-links' ); ?> <?php if(of_get_option('include_newsletter') == 'yes') { ?> <?php get_template_part( '/includes/newsletter' ); ?> <?php } ?> <?php get_template_part( 'layouts/header-links' ); ?> <p id="header-text">(226)374-2745</p> </div>
December 1, 2014 at 12:38 #24573Bill RobbinsModeratorHere’s the full header.php file. Visit this post on the support site and copy the code from there. That way you can replace the entire file with the modified code.
December 1, 2014 at 12:44 #24575Michael ChilcottParticipantThank you bill,
One last thing for this part.
the facebook and phone number are just alittle close to each other is there a way to space them out a bit
December 1, 2014 at 12:47 #24576Bill RobbinsModeratorLet’s add this to the Custom CSS in your Theme Options too:
p#header-text { padding-left: 10px; } a.font-icon-social-facebook { top: -2px; position: relative; }
See if that won’t position them a bit better.
December 1, 2014 at 13:25 #24578Michael ChilcottParticipantBill,
Thank you so very much for all your help with these issues.
How Do I go about making the menu like the demo with the heading for each one.
So something like this
DRY ICY
Dry icy is normally used for the first dance between the Bride and Groom.
Price $000.00
December 1, 2014 at 13:29 #24579Michael ChilcottParticipantSecond Which Font did you use for the Logo?
Thanks,
MikeDecember 1, 2014 at 13:31 #24580Michael ChilcottParticipantNever mind the question about the MENU..
Its already like that…
Just the Font for the Logo
December 1, 2014 at 13:35 #24581Michael ChilcottParticipantThe time thing has stopped working as well
its saying 2:02 but its 2:35pm
What Happen
December 1, 2014 at 14:32 #24582Bill RobbinsModeratorThe server probably caches that time. Personally I wouldn’t suggest using either the date or time because you won’t be able to use a caching plugin like WP Super Cache to keep your site as quick loading as possible.
-
AuthorPosts
- The topic ‘Food Menu Not Looking Like Demo’ is closed to new replies.