Title: Help with custom HTML/CSS
Last modified: September 9, 2020

---

# Help with custom HTML/CSS

 *  Resolved [mrworldling](https://wordpress.org/support/users/mrworldling/)
 * (@mrworldling)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/help-with-custom-html-css/)
 * Hello,
 * I have a theme (Business Logistic by CMS Masters) that has a custom header feature
   where I’ve input the following so I can have a telephone number displayed in 
   the header
 *     ```
       <div class="cmsmasters-icon"-phone-4">
           <span>
               <span>Call Us Anytime</span>
               <a href="tel:0800-689-0150"><strong> 0800 689 0150</strong></a>
           </span>
       ```
   
 * The HTML appears fine on the site and I have tried styling this with the below
   CSS versions :
 * `.cmsmasters-icon-phone-4 span a strong { font-size: 20rem;}`
 * `!important .cmsmasters-icon-phone-4 span a strong { font-size: 20px !important;}`
 * but I could not make it to change the font size. I’ve tried inspecting the element
   and I could see it is being overriden by
 * `.header_mid .slogan_wrap .slogan_wrap_text strong { font-family: 'Roboto Condensed',
   Arial, Helvetica, 'Nimbus Sans L', sans-serif; font-size: 13px; line-height: 
   18px; font-weight: 700; font-style: normal; text-transform: uppercase; text-decoration:
   none;`
 * Is there anyway I can override this and only increase font of the telephone number?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhelp-with-custom-html-css%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [muktadhawan](https://wordpress.org/support/users/muktadhawan/)
 * (@muktadhawan)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/help-with-custom-html-css/#post-13381611)
 * .cmsmasters-icon-phone-4 a strong {
    font-size: 20px !important; }
 * Try this
 *  Thread Starter [mrworldling](https://wordpress.org/support/users/mrworldling/)
 * (@mrworldling)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/help-with-custom-html-css/#post-13381820)
 * great that worked like a charm! thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Help with custom HTML/CSS’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [html](https://wordpress.org/support/topic-tag/html/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [mrworldling](https://wordpress.org/support/users/mrworldling/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/help-with-custom-html-css/#post-13381820)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
