- This topic has 12 replies, 2 voices, and was last updated 5 years, 10 months ago by
David.
-
AuthorPosts
-
September 27, 2018 at 6:03 pm #688189
Jud
I created a website earlier, using GP, and somehow added a region above the footer bar.
I had a catastrophe and need to recreate (using GP, and changes to WP) the site.
The image linked (it is on Google Drive) shows the region at the bottom of the page.
How do I recreate this region?
September 28, 2018 at 8:27 am #688665David
StaffCustomer SupportHi there,
you can either use a single footer widget.
Or use the Hook Element > before_footer hook to display your HTMLSeptember 30, 2018 at 5:11 pm #690251Jud
Hi David,
I watched the video on Page Hero, and that looks like it might be what I need.
I need:
— A horizontal bar that appears above the footer bar, with short texts (maybe phone number, email address, linked-in addy)
— Should be same width (currently 100%) as footer.
— Should appear on all pages.
— If possible, should be excludable on selected pages in future.My setup is WordPress on Bluehost, with GP Premium, wit WP now having Gutenberg, which I am currently using (but I am pretty unhappy with their Columns).
Is Page Hero what I want?
If not, how exactly do I create a hook in WP/GP? Once created, do I need to somehow activate it for the theme, or for individual pages?
Thanks,
Jud
September 30, 2018 at 5:42 pm #690261David
StaffCustomer SupportHeader Element > Page Heros can only be placed immediately below the Site Header. You would need to use Hook Element instead. So:
1. Elements > New > Hook.
2. Give it a title and Add some content (see below)
3. Select the before_footer hook.
4. Go to Display Rules tab and select which pages you wish to display it on. Note the Front Page has to be selected in your rules if you want it on your home page.
5. SaveFor the content use some HTML like this:
<div class="grid-container before-footer-box"> Write your content here </div>And then a little CSS in your Additional CSS or Child Theme style sheet:
.before-footer-box { padding: 40px; background-color: ff00ff; color: #fff; }September 30, 2018 at 5:55 pm #690262Jud
Thanks for the quick response! I’m studying some Lisp right now, but I will give this a spin in about 30 mins.
September 30, 2018 at 6:58 pm #690278Jud
Like a champ.
If you have the instructions you sent to me saved as a clip, I’ll suggest a couple of changes if you’d be interested.
Can my additional CSS refer to site-wide parameters, like COLOR1, or STRANDARD-PADDING, or something?
To array three pieces of text left, middle, and right, should I do something like
<span id=’left-text’>Left Words</span>
<span id=’middle-text’>Middle Words</span>
<span id=’right-text’>Right Words</span>?
October 1, 2018 at 1:41 am #690425David
StaffCustomer SupportAre you using the Footer Widgets on your site? If not then they would be the easiest route for adding ‘columns’ and having customizer control over the colors and padding
October 1, 2018 at 6:45 am #690634Jud
Are you suggesting using the footer widgets (otherwise unused) to serve as “main content columns”?
Interesting hack!
October 1, 2018 at 6:55 am #690637David
StaffCustomer SupportSorry i thought we were talking about the region above the footer bar.
If you want to add columns to the content then one of other Toms plugins:October 1, 2018 at 7:00 am #690643Jud
Thanks! I’ll close this thread, and start a new one (not now!) when I get other questions.
October 1, 2018 at 7:19 am #690646David
StaffCustomer Supportglad i could help
August 4, 2020 at 12:36 am #1386538Jakob
August 4, 2020 at 2:38 am #1386652David
StaffCustomer SupportHi there,
could you start a new topic where you can privately share a link using the Site URL field so we can take a look.
-
AuthorPosts
- You must be logged in to reply to this topic.
