WordPress beautification: modify the robin Begin theme. The default top menu is color menu

WordPress beautification: modify the robin Begin theme. The default top menu is color menu

This kind of style modification is very common in the robin Begin theme. When I saw the relevant modification methods in the poetry dream blog, I moved them to Woyou in need. I didn't like this style very much, so I didn't change it to this style.

The code does not support the main menu and mobile menu. It can be used in gadgets and articles, Single page , the lower part of the website, etc., supports its own size and color. By default, my blog now has two css styles in these two colors.

The modified top style is as follows:

 WordPress beautification: modify the robin Begin theme. The default top menu is color menu

 

Operation method

First add the CSS style to the appearance, customization, and additional CSS, and then call the code to the place you want to add, such as the menu

Css style

  1. .mcnmq{ background : #b485e2 ; color : #fff ; padding : 2px   8px ; border -radius: 2px }.mcnmw{ background : #74d62f ; color : #fff ; padding : 2px   8px ; border -radius: 2px }

Call code

  1. <span class= "mcnmq" >Navigation</span>
  1. <span class= "mcnmw" >Navigation 2</span>

 

Original link: https://www.mom1.cn/2973.html

 Watson Blog
  • This article is written by Published on June 12, 2018 00:15:00
  • This article is collected and sorted by the website of Mutual Benefit, and the email address for problem feedback is: wosnnet@foxmail.com , please keep the link of this article for reprinting: https://wosn.net/1252.html

Comment