How To: Easy CTA Button with CSS in WordPress

Опубликовано: 20 Апрель 2026
на канале: Adam Wright Design
2,147
35

I'll show you a quick and easy way to make a call-to-action styled button in your navigation menu using WordPress.

In this tutorial, I am using GeneratePress — however, you can apply this method with any theme.

Here's the CSS code from the video:
.main-navigation .main-nav ul li.menu-cta a {
border:2px solid #1e73be;
color:#1e73be;
font-weight:bold;
line-height:50px;
}

.main-navigation .main-nav ul li.menu-cta a:hover {
background-color:#1e73be;
border-color:#1e73be;
color:#fff;
}

------------

Thanks for watching!

https://adamwrightdesign.com
  / adamwrightdesignh  
  / adamwrightdesign