Title: Niall Madhoo's Replies - page 22 | WordPress.org

---

# Niall Madhoo

  [  ](https://wordpress.org/support/users/nm1com/)

 *   [Profile](https://wordpress.org/support/users/nm1com/)
 *   [Topics Started](https://wordpress.org/support/users/nm1com/topics/)
 *   [Replies Created](https://wordpress.org/support/users/nm1com/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/nm1com/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/nm1com/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/nm1com/engagements/)
 *   [Favorites](https://wordpress.org/support/users/nm1com/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 316 through 330 (of 482 total)

[←](https://wordpress.org/support/users/nm1com/replies/page/21/?output_format=md)
[1](https://wordpress.org/support/users/nm1com/replies/?output_format=md) [2](https://wordpress.org/support/users/nm1com/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/nm1com/replies/page/3/?output_format=md)…
[21](https://wordpress.org/support/users/nm1com/replies/page/21/?output_format=md)
22 [23](https://wordpress.org/support/users/nm1com/replies/page/23/?output_format=md)…
[31](https://wordpress.org/support/users/nm1com/replies/page/31/?output_format=md)
[32](https://wordpress.org/support/users/nm1com/replies/page/32/?output_format=md)
[33](https://wordpress.org/support/users/nm1com/replies/page/33/?output_format=md)
[→](https://wordpress.org/support/users/nm1com/replies/page/23/?output_format=md)

 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Highlighting nav bar menu items](https://wordpress.org/support/topic/highlighting-nav-bar-menu-items/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/highlighting-nav-bar-menu-items/#post-13394801)
 * To highlight the menu items when the respective menu or submenu item is open 
   as a page in the browser, please **add** the following **CSS code** in the **
   Appearance > Customize > Additional CSS** section of your **WordPress Admin dashboard**:
 *     ```
       /* Highlight all current-menu items up to 2 submenus (ul ul ul li... would be 3 menus) */
       .main-navigation ul li.current-menu-ancestor > a, .main-navigation li.current-menu-item a, .main-navigation ul li.current-menu-item a, .main-navigation ul ul li.current-menu-item a {
         color: black;
       }
       ```
   
 * I have the **“[Standard with Sidebar](http://vantage-demo.packs.siteorigin.com/2017/06/25/inspired-working-spaces/)“**
   post open, and the **Blog** menu is **highlighted** as follows **without** me
   hovering my mouse over any of the items:
 * [
 * The **Blog** menu item highlights on the same post without the submenu open. 
   That’s because the **“[Standard with Sidebar](http://vantage-demo.packs.siteorigin.com/2017/06/25/inspired-working-spaces/)“**
   post is also a link in the submenu under **Blog**:
 * [
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Highlighting nav bar menu items](https://wordpress.org/support/topic/highlighting-nav-bar-menu-items/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/highlighting-nav-bar-menu-items/#post-13394738)
 * `.current-menu-parent` is the element directly above or to the left of the page
   that’s currently open (`.current-menu-item` and `.current_page_item`).
 * `.current-menu-ancestor` are all the menu elements that are above or to the left
   of the currently open page (`.current-menu-item` and `.current_page_item`).
 * For instance, with the [Blog: Grid Layout](http://vantage-demo.packs.siteorigin.com/blog-grid-layout/#)
   page open and its menu selected, it would be as follows:
 * [
 * If the currently opened page is a WordPress post, then its menu item would only
   be `.current-menu-item`
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Highlighting nav bar menu items](https://wordpress.org/support/topic/highlighting-nav-bar-menu-items/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/highlighting-nav-bar-menu-items/#post-13394664)
 * You’re welcome. If I understand correctly what you’re asking, the **parent** **
   highlights** and **activates** the **dropdown submenu** using this code on line
   989 of the **style.css** file on [http://vantage-demo.packs.siteorigin.com/](http://vantage-demo.packs.siteorigin.com/):
 *     ```
       .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {
           visibility: visible;
           opacity: 1;
       }
       ```
   
 * The **highlight** for the **parent menu item** is determined by:
 *     ```
       .main-navigation ul li:hover > a, .main-navigation ul li:focus > a, .main-navigation ul li:hover > a [class^="fa fa-"] {
           color: #333333;
       }
       ```
   
 * And for the **submenu item**, it’s:
 *     ```
       .main-navigation ul ul li:hover > a {
           background-color: #ffffff;
           color: #333333;
       }
       ```
   
 * The **submenu item** only **drops down** when a user **hovers** over the **parent
   menu item**. That **also** means that the **parent menu item** always **highlights**
   when the **submenu item** is **visible**. The submenu item cannot display without
   the parent menu item.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Possible to add blocks to homepage w/ “Your homepage displays: Latest Posts”?](https://wordpress.org/support/topic/possible-to-add-blocks-to-homepage-w-your-homepage-displays-latest-posts/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/possible-to-add-blocks-to-homepage-w-your-homepage-displays-latest-posts/#post-13394650)
 * Hey Mat,
 * Your methods sounds like the most **straightforward** way.
 * Otherwise, you’ll need to set up a child theme to modify your theme’s **home 
   page file** (either **index.php home.php, or front-page.php**), add a function
   to your theme’s **function.php** file, or add the code using a **site-specific
   plugin**.
 * From what I understand, is this what you’re suggesting:
    - Create a **static page** under **Pages > Add New**, such as **Home**
    - Add the **hero** here using an **HTML block** or **Image block**
    - Below that add a **Latest Posts block**
    - Set the **Settings > Reading** to **A static page** and select **Homepage:
      Home**
 * ?
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [centring gallery widget in sidebar](https://wordpress.org/support/topic/centring-gallery-widget-in-sidebar/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/centring-gallery-widget-in-sidebar/#post-13394486)
 * Hello [@sarsarheyworth](https://wordpress.org/support/users/sarsarheyworth/),
 * Please **add** the following **CSS code** in the **Appearance > Customize > Additional
   CSS** section of your **WordPress Admin dashboard**:
 *     ```
       .sidebar-right .ashe-widget {
       	text-align: center; /* Center text and images on most sidebar-right widgets */
       }
   
       .gallery-item {
           margin-right: 20px; /* Determines the spacing between gallery images*/
       }
   
       .gallery-columns-3 .gallery-item {
           width: auto; /* Overrides the theme's default 3-column gallery image width so the images align correctly */
       }
   
       .sidebar-right .ashe-widget ul a, .sidebar-right .ashe-widget ol a{
       	width: 100%; /* Sets the width of the list item link to 100% for the text-align element to work */
       	text-align: center; /* Center list items on recent posts widget */
       }
       ```
   
 * The **result** should be as follows:
    [
 * The **images** are **aligned to the center** of the **sidebar**:
    [
 * And so are the **rest** of the **non-centered widgets**:
    [
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [How to import new blog theme to an existing WordPress site.](https://wordpress.org/support/topic/how-to-import-new-blog-theme-to-an-existing-wordpress-site-2/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-import-new-blog-theme-to-an-existing-wordpress-site-2/#post-13394353)
 * Jerome, that seems a bit more complicated. I recommend asking at [https://wordpress.org/support/plugin/jonradio-multiple-themes/](https://wordpress.org/support/plugin/jonradio-multiple-themes/)
   so the plugin’s developers and support community can help you further with this.
 * Niall
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Background Video](https://wordpress.org/support/topic/background-video-7/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/background-video-7/#post-13394347)
 * [@avraham95](https://wordpress.org/support/users/avraham95/) If your question
   has been answered, it would be great if you would mark this topic as resolved
   in the sidebar. This helps the forum’s volunteers find the topics that still 
   need attention and more people will get helped, possibly like you did.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can you import a WP backup to a different site?](https://wordpress.org/support/topic/can-you-import-a-wp-backup-to-a-different-site/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/can-you-import-a-wp-backup-to-a-different-site/#post-13394342)
 * You’re welcome, Barry! Same to you!
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Blog Post Page not working with Divi Builder](https://wordpress.org/support/topic/blog-post-page-not-working-with-divi-builder/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/blog-post-page-not-working-with-divi-builder/#post-13393873)
 * Hello [@filippalevemark](https://wordpress.org/support/users/filippalevemark/),
 * If you use a commercial theme like Divi and need support, please go to their 
   official support channel. In order to be good stewards of the WordPress community,
   and encourage innovation and progress, we feel it’s important to direct people
   to those official locations.
 * You can find support for Divi here: [https://www.elegantthemes.com/contact/](https://www.elegantthemes.com/contact/)
   and [https://intercom.help/elegantthemes/en/collections/1475217-divi-release-tutorials](https://intercom.help/elegantthemes/en/collections/1475217-divi-release-tutorials)
 * Forum volunteers are also not given access to commercial products, so they would
   not know why your commercial theme is not working properly. This is one other
   reason why volunteers forward you to the commercial product’s vendors, in this
   case Elegant Themes. The vendors are responsible for supporting their commercial
   product.
 * I can help with what the issue may be. The following is an example of the URL
   you’re talking about: [https://filippalevemark.com/25c14ae1194d16351f42886f0ed5552aa65e262348885289fb55cbbc404affe8postname25c14ae1194d16351f42886f0ed5552aa65e262348885289fb55cbbc404affe8/](https://filippalevemark.com/25c14ae1194d16351f42886f0ed5552aa65e262348885289fb55cbbc404affe8postname25c14ae1194d16351f42886f0ed5552aa65e262348885289fb55cbbc404affe8/).
   This URL definitely seems abnormal.
 * You may have a plugin or theme **conflict**.
 * Please attempt to **disable** all plugins, and use one of the **default** (Twenty*)
   themes. If the problem goes **away**, enable them one by one to identify the **
   source** of your troubles.
 * If you can install plugins, **install** and **activate** **Health Check**: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
   
   It will add a new **feature** under Tools > Site Health. On its **Troubleshooting**
   tab, you can **Enable Troubleshooting Mode**. This will **disable** all plugins,**
   switch** to a standard WordPress theme (if available), **allow** you to turn 
   your plugins on and off, and **switch** between themes, **without** affecting
   normal visitors to your site. This allows you to **test** for various **compatibility**
   issues, such as the URL problem. For instance, if the URLs work with a default
   WordPress theme, then there’s an issue with the Divi theme you’re using.
 * There’s a more **detailed** description about how to use the **Health Check**
   plugin and its **Troubleshooting Mode** at [https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/](https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/).
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Different shipping cost to different zones](https://wordpress.org/support/topic/different-shipping-cost-to-different-zones/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/different-shipping-cost-to-different-zones/#post-13389836)
 * Hi [@tomdhu](https://wordpress.org/support/users/tomdhu/),
 * I recommend asking at [https://wordpress.org/support/plugin/woocommerce/](https://wordpress.org/support/plugin/woocommerce/)
   so the WooCommerce developers and support community can help you with this.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Trouble changing text](https://wordpress.org/support/topic/trouble-changing-text/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/trouble-changing-text/#post-13389824)
 * Hello [@woodbox](https://wordpress.org/support/users/woodbox/),
 * It may be inside:
    - Your **theme’s options** or the **WordPress Admin customizer** found under**
      Appearance > Customize**
    - The **Home page** found within the **Pages** section of the WordPress Admin
      dashboard
    - **Hardcoded** into your theme
    - Possibly though **not** likely as a **widget** found in **Appearance > Widgets**
    - If it’s **not** there, I recommend **asking** at [https://wordpress.org/support/plugin/woocommerce/](https://wordpress.org/support/plugin/woocommerce/)
      so the WooCommerce developers and support community can help you with this.
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Highlighting nav bar menu items](https://wordpress.org/support/topic/highlighting-nav-bar-menu-items/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/highlighting-nav-bar-menu-items/#post-13389798)
 * Hello [@engine44](https://wordpress.org/support/users/engine44/),
 * Depending on how your **theme** is **set up**, you should be able to **highlight
   the main menu bar** using something like:
    `.current-menu-ancestor { color: XXX,
   background: XXX, border: XXX }` or `.current-menu-parent { color: XXX, background:
   XXX, border: XXX}`.
 * If it’s possible to **share** a **link** to your site, we can help you **identify**
   what **code** you need to use. This **CSS code** could then be **added** in the**
   Appearance > Customize > Additional CSS** section of your **WordPress Admin dashboard**.
    -  This reply was modified 5 years, 10 months ago by [Niall Madhoo](https://wordpress.org/support/users/nm1com/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can you import a WP backup to a different site?](https://wordpress.org/support/topic/can-you-import-a-wp-backup-to-a-different-site/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/can-you-import-a-wp-backup-to-a-different-site/#post-13389729)
 * Hi [@barryrichardson](https://wordpress.org/support/users/barryrichardson/),
 * There’s a few **other options** you could use to **transfer** your site:
    - A backup plugin like the free version of **UpdraftPlus**: [https://wordpress.org/plugins/updraftplus/](https://wordpress.org/plugins/updraftplus/)
    - **Softaculous** backups (if your host offers cPanel)
    - **Manually** backing up the files using **FTP** and **phpMyAdmin**
    - If you’re using a **different** web host, they may offer **free** site transfers,
      which you could use
 * As I recall, you’ll also need to **change** the URL once you **restore** the 
   backup on the **new** domain **(Site B)**:
    - In the `wp-config.php` file via FTP
    - In your **Site B’s** WordPress **database** using **phpMyAdmin**
 * You may also have to **update** the **URLs** that may have been **hardcoded**
   into **Site A ** (e.g., a link **manually** added inside an **HTML widget**).
   A plugin like **Better Search Replace** should work well for this: [https://wordpress.org/plugins/better-search-replace/](https://wordpress.org/plugins/better-search-replace/).
 * The **recommended method** for **transferring** your site is to use the **Duplicator**
   plugin: [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/).
   This method is the **easiest** and **quickest** for **cloning** a WordPress site**
   from one domain to another**.
 * I’ve **also** used **UpdraftPlus** ([https://wordpress.org/plugins/updraftplus/](https://wordpress.org/plugins/updraftplus/)),**
   BackWPUp** ([https://wordpress.org/plugins/backwpup/](https://wordpress.org/plugins/backwpup/)),
   and **manual backups** (FTP and phpMyAdmin) to achieve the **same** result after
   editing the URL in the `wp-config.php` file and the site’s **database**.
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Updates won’t publish](https://wordpress.org/support/topic/updates-wont-publish/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/updates-wont-publish/#post-13389669)
 * Hey [@miiakoi](https://wordpress.org/support/users/miiakoi/),
 * You’re welcome!
 * I recommend you **“Enable 301 .htaccess redirect.”** That’s provided you know
   how to **access** your site **FTP** to change **remove** the configuration from
   the **.htaccess file** in case anything goes wrong. That’s what the **warning**
   was about. There’s **instructions** on how to do that at the **end** of this 
   post.
 * The .htaccess option should **force** your site to **redirect HTTP requests to
   HTTPS**, which is what the the **plugin** is **recommending** for your setup.**
   Really Simple SSL** is supposed to do the redirecting **automatically**. If the
   plugin is **recommending** the **.htaccess option** then it’s **possible** that
   the server setup you have **needs** that file.
 * If you **enable** it and your site gets the **Too Many Redirects** error, you’ll
   need to **edit** your **wp-config.php** file using **FTP**. **Add** the following**
   code** right **before** the **“That’s all, stop editing! Happy blogging.”** line:
 *     ```
       define('FORCE_SSL_ADMIN', true);
       // in some setups HTTP_X_FORWARDED_PROTO might contain 
       // a comma-separated list e.g. http,https
       // so check for https existence
       if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
              $_SERVER['HTTPS']='on';
       ```
   
 * You can read more about **fixing SSL **on your WordPress site here: [https://www.wpbeginner.com/wp-tutorials/how-to-fix-common-ssl-issues-in-wordpress-beginners-guide/](https://www.wpbeginner.com/wp-tutorials/how-to-fix-common-ssl-issues-in-wordpress-beginners-guide/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [CSS Hover Animated Dash Border Help](https://wordpress.org/support/topic/css-hover-animated-dash-border-help/)
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/css-hover-animated-dash-border-help/#post-13389616)
 * You’re welcome. It’s not possible using CSS `border` styling but there are ways
   around it like using the `background` element. This article explains how to do
   that: [https://css-tricks.com/gradient-borders-in-css/](https://css-tricks.com/gradient-borders-in-css/)

Viewing 15 replies - 316 through 330 (of 482 total)

[←](https://wordpress.org/support/users/nm1com/replies/page/21/?output_format=md)
[1](https://wordpress.org/support/users/nm1com/replies/?output_format=md) [2](https://wordpress.org/support/users/nm1com/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/nm1com/replies/page/3/?output_format=md)…
[21](https://wordpress.org/support/users/nm1com/replies/page/21/?output_format=md)
22 [23](https://wordpress.org/support/users/nm1com/replies/page/23/?output_format=md)…
[31](https://wordpress.org/support/users/nm1com/replies/page/31/?output_format=md)
[32](https://wordpress.org/support/users/nm1com/replies/page/32/?output_format=md)
[33](https://wordpress.org/support/users/nm1com/replies/page/33/?output_format=md)
[→](https://wordpress.org/support/users/nm1com/replies/page/23/?output_format=md)