- This topic has 7 replies, 3 voices, and was last updated 1 year, 6 months ago by
Elvin.
-
AuthorPosts
-
January 26, 2021 at 2:44 am #1633879
Thomas
hi,
I added a top line of information with an element hook, and I added a WPML language switcher with a shortcake [wpml_language_selector_widget] on the top line. However it displays on two separate lines. How to make it display on the same line ?
January 26, 2021 at 6:16 am #1634118David
StaffCustomer SupportHi there,
did you resolve this ? As i am seeing this:
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 26, 2021 at 8:13 am #1634448Thomas
actually no, I’d like to display this FR /EN switcher on the the top-right within the grey bar above bar, just after “INFOS PRATIQUES”.
January 26, 2021 at 10:08 am #1634589David
StaffCustomer SupportAah ok.
So the simplest solution may be to use a Block Element:https://docs.generatepress.com/article/block-element-overview/
Combine that with the GenerateBlocks plugin: https://en-gb.wordpress.org/plugins/generateblocks/
Then you can create add a Conatainer Block, to create the background color, within that a Grid Container Block, and then add your shortcode to the left column and text elements in the right.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 26, 2021 at 1:38 pm #1634835Thomas
Thanks for clear answer.
Actually I’m using Beaver Builder as page builder.
Is it possible to replicate what you explained with Beaver Builder, or should I add GenerateBlocks plugin and proceed as you explained ?January 26, 2021 at 9:28 pm #1635084Elvin
StaffCustomer SupportHi,
I don’t think Beaver Builder works with the Block Element as this element is intended to be edited with Gutenberg editor.
You can proceed with only using Gutenberg editor plus GenerateBlocks for making column layouts with styling and then add the shortcode and the texts on their intended columns.
A wise man once said:
"Have you cleared your cache?"January 28, 2021 at 8:54 am #1637248Thomas
Hello, I installed GenerateBlock, made a Block Element with a container, 2 separate columns within, 1st column containing text and 2nd column containing WPML shortcode. However it seems that the shortcode is not recognized…
Any idea why ?January 28, 2021 at 3:40 pm #1637598Elvin
StaffCustomer SupportAre you using Gutenberg’s Shortcode Block? You can place this block within the 2nd column and use it to run your shortcode.
If you’re already doing this, can you test if the shortcode is confirmed to be working properly? Let us know.
A wise man once said:
"Have you cleared your cache?" -
AuthorPosts
- You must be logged in to reply to this topic.