7/5/2023 0 Comments Wordpress contact bar top![]() In Appearance->Customize->Colors->Top Bar, I chose a dark background color with white text. You can use standard text or HTML for the Top Bar content if. Notice: The default Top Bar content makes use of the topbaritem shortcode which allows you to add inline elements such as a phone number, email, login/logout link, etc. In Appearance->Customize->Layout->Top Bar, I set the “Top Bar Width” to Full and “Top Bar Alignment” to Center. Default is a few shortcodes for phone, email, login link. Please, read this article to add the Font Awesome library to the theme. Speed Contact Bar enables your visitors to get in contact with you quickly. Tip: Since GeneratePress 2.1 the Font Awesome library is not included by default anymore. I used the following HTML code to add a paragraph and a Font Awesome icon inside the content custom HTML widget area: USE CODE: TE20 AND GET 10% DISCOUNT Just go to Appearance->Customize->Widgets->Top Bar and then click the Add a Widget button to add a Custom HTML widget. I recently asked that question in the GP Premium support forum and Tom Usborne (creator of GeneratePress) along with David gave me some great tips and code snippets (as always!) which I then applied to a test website with great results! The first thing to do is to actually add a custom HTML widget to the top bar widget area. ![]() But what if you wanted to add a notification bar that always needs to load at the top of the page but give the user the option to be able to close it with the use of a close () button? GeneratePress top bar widget area in the Customizer GeneratePress has a top bar widget that can be activated from the Customizer so why not take advantage of what’s already available to us and save a few resources and HTTP requests? By going to Appearance->Customize->Widgets->Top Bar a custom widgets can be added including custom menus, social icons, login information, etc. There is a plethora of notification bars that can be found in the WordPress plugin repository or you can embed one yourself. A notification bar is useful if you want to show a site-wide message to your audience about certain news or a promotion that you offer in your online shop.
0 Comments
Leave a Reply. |