[Resolved] add blocks to the widget area

Home Forums Support [Resolved] add blocks to the widget area

Home Forums Support add blocks to the widget area

Viewing 15 posts - 1 through 15 (of 37 total)
  • Author
    Posts
  • #1845505
    Loïc

    Pleaz let me know the directions to add blocks to the widget area in 5.8 in order to add social icons to the widget area …

    #1845639
    Ying
    Staff
    Customer Support

    Hi Loic,

    Where exactly are you trying to add the social icons?

    Let me know 🙂

    #1845775
    Loïc

    In the top bar, extreme right like https://www.dreadcentral.com/
    I want to use blocks.

    Thanks

    #1846160
    Loïc

    ???

    #1846164
    David
    Staff
    Customer Support

    Hi there,

    you can use a Block Element:

    https://docs.generatepress.com/article/block-element-overview/

    Create you content with blocks, we recommend the GenerateBlocks plugin to do that as it gives you full styling control.
    Then select the hook: menu_bar_items

    This will add the blocks in that position. On Desktop and Mobile.
    If you only want them displayed on Desktop, then when you build your content place them inside a Container Block, and give the Advanced > Additional CSS Class(es) a class of: hide-on-mobile

    #1846664
    Loïc

    Sorry but it is not clear. I created an element with the hook menu_bar_items and three columns but how do I add the icons? and how do I place it in the top bar and not the header?

    #1846671
    David
    Staff
    Customer Support

    The GB Buttons ( and Headline ) Blocks both have an icon option – see the buttons icon doc here:

    https://docs.generateblocks.com/article/buttons-overview/#icon

    It contains those social icons in the example link you provided.
    And there is an option to remove the text from the button so only the icon is displayed.

    And this doc explains how you can add more icons to GenerateBlocks Free:

    https://docs.generateblocks.com/article/adding-custom-svg-icons/

    #1847070
    Loïc

    Thanks but how to place it in the top bar (not header), pushed to the right ? I have two horizontal menus, one in the head and one in the top bar.

    #1847317
    Loïc

    When I add the social icons buttons, there is no choice given to pick up icons … The menu is different then that https://docs.generateblocks.com/article/buttons-overview/#icon I have GP premium installed and generateblocks free plugin …

    #1847385
    David
    Staff
    Customer Support

    Make sure its the GB Buttons Block ( not the core buttons block ) and check the rest of the doc:

    https://docs.generateblocks.com/article/buttons-overview/

    You will see Buttons are made of 2 x Blocks – the outer container and the individual button. Make sure you have the individual button selected.

    #1847457
    Loïc

    How can I add those GB Buttons block ?
    is it part of GB premium ? I have only the GB free plugin …
    I don’t see any choice or possibility to load font or icons ….

    #1847500
    David
    Staff
    Customer Support

    No you only need the Free Plugin – this one:

    https://wordpress.org/plugins/generateblocks/

    It only adds 4 blocks one of which is the Buttons Block:

    2021-07-07_13-30-11

    #1847538
    Loïc

    OK I found them 🙂 What confusing is that there are social icons presented in the choice of blocks … Now I want to place them in the top bar, not the header and on the right side (at the moment it sticks to the right of the menu in the head. )

    #1847587
    David
    Staff
    Customer Support

    Can you share a link to your site so i can see the layout ?

    #1848284
    Loïc

    I am on local, just want to assign that block to the top.

Viewing 15 posts - 1 through 15 (of 37 total)
  • You must be logged in to reply to this topic.