Title: Highlight container border
Last modified: May 10, 2022

---

# Highlight container border

 *  [jamesbold](https://wordpress.org/support/users/jamesbold/)
 * (@jamesbold)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/highlight-container-border/)
 * Hello,
 * I would like to have a border bottom (4px) to the container of every menu item
   instead of highlighting the text. This menu is build with elementors icon boxes.
   Every box has a link to an anchor in the page. The class mPS2id-highlight i added
   to every icon box widget.
 * The class is defined as:
    .mPS2id-highlight{background-color: #ff0;}
    -  This topic was modified 4 years, 1 month ago by [jamesbold](https://wordpress.org/support/users/jamesbold/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhighlight-container-border%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/highlight-container-border/#post-15632068)
 * Hi,
 * You can try something like this:
 * Go to plugin settings and:
 * 1.Set the “Highlight selector(s)” option value to:
 * `.elementor-icon-box-wrapper .elementor-icon-box-title a`
 * 2.Disable “Allow only one highlighted element at a time” and “Keep the current
   element highlighted until the next one comes into view” options.
 * Save changes.
 * Add the following to your CSS:
 *     ```
       .elementor-icon-box-wrapper .elementor-icon-box-title .mPS2id-highlight{
           border-bottom: 4px solid;
           padding-bottom: 0.25em; 
       }
       ```
   
 * The `padding-bottom` is optional if you want to give some space between the text
   and the bottom border.
 * Hope this helps

Viewing 1 replies (of 1 total)

The topic ‘Highlight container border’ is closed to new replies.

 * ![](https://ps.w.org/page-scroll-to-id/assets/icon-256x256.png?rev=1401043)
 * [Page scroll to id](https://wordpress.org/plugins/page-scroll-to-id/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-scroll-to-id/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-scroll-to-id/)
 * [Active Topics](https://wordpress.org/support/plugin/page-scroll-to-id/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-scroll-to-id/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-scroll-to-id/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [malihu](https://wordpress.org/support/users/malihu/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/highlight-container-border/#post-15632068)
 * Status: not resolved