- This topic has 12 replies, 3 voices, and was last updated 1 year, 6 months ago by Leo.
December 22, 2020 at 6:33 am #email@example.comDecember 22, 2020 at 7:22 am #1590815DavidStaffCustomer SupportDecember 22, 2020 at 8:03 am #firstname.lastname@example.org
Yes, I want it to be visibleDecember 22, 2020 at 8:53 am #1590914DavidStaffCustomer Support
It will take a few steps:
1. We need to create a Shortcode for our Search Field.
This article provides the PHP Snippet to do that:
This article explains adding PHP:
2. Then you can use the Block Element:
To create your search area to which you can now add your new shortcode:
In the Block Element you can select the Hook – use the
generate_after_headerhook to place it below the navigation.
Set the Display Rules to the Entire Site or wherever it is you want it displayed.
NOTE: We recommend using the GenerateBlocks plugin for better styling control in the block element:December 22, 2020 at 9:23 am #email@example.com
Please take a https://www.tryhypnosisnow.com/hypnosis-downloads on a mobile phone. Is there a way to put text content right under the search box?
Is there a way to move the current content below it, closer to the search box so there isn’t a big gap or space there?
“By utilizing the NYC Hypnosis Life Altering hypnosis recordings, you can train your mind to overcome any habit…..”December 22, 2020 at 12:32 pm #1591155DavidStaffCustomer Support
If you select the Separator Block you have at the top of your post content, go to the Settings > Advanced > Additional CSS Class(es) and enter:
hide-on-mobilethis will remove that block on mobile phones. Its that block that is taking up the spaceDecember 22, 2020 at 12:51 pm #firstname.lastname@example.org
Where do I find Settings > Advanced > Additional CSS Class(es)?December 22, 2020 at 1:27 pm #email@example.com
I see the Separator Block on my mobile version but not my desktop? I do not know how/where to find the Separator Block.
Where do I find Settings > Advanced > Additional CSS Class(es)?December 22, 2020 at 2:26 pm #1591262LeoStaffCustomer SupportDecember 22, 2020 at 2:41 pm #firstname.lastname@example.orgDecember 22, 2020 at 7:17 pm #1591422LeoStaffCustomer Support
Just to confirm, we are talking about this right?
If that’s definitely a separator block as the HTML shows.
Looks like it’s inserted above the “By utilizing the NYC….” sentence and right below the search bar.December 22, 2020 at 7:34 pm #email@example.com
So I was editing the page visually and switched to code editor.
I removed the following
<hr class="wp-block-separator is-style-wide"/>December 22, 2020 at 7:37 pm #1591447
- You must be logged in to reply to this topic.