douguaidian8021 2014-12-06 21:32 采纳率: 100%
浏览 77
已采纳

来自(内部)wordpress仪表板的自定义CSS样式

I am looking to edit the css styles from inside the Dashboard inside of wordpress and NOT have to edit the php files if possible.

I know it is possible to edit at least some of the properties so my hope is I can edit all of them right within the dashboard.

MORE SPECIFICALLY How can I change the css states of links and submenus of a custom class? For example the a:active, a:hover, a:link etc... and ALL OF THE SUB-MENUS to custom css as well?

I have included these pictures to show you what I am trying to do and the present results.

MY CUSTOM MENU INSIDE OF WORDPRESS

enter image description here

CUSTOM CSS INSIDE OF WORDPRESS enter image description here

THE RESULTS

enter image description here

  • 写回答

1条回答 默认 最新

  • duansan9435 2014-12-06 22:42
    关注

    I am taking the time to give a little more details in gratitude for all the help I got on stackoverflow over the years, also giving a little more info for the newbies out there. We are all learning.

    Here is what worked in pictures

    1. I used Firefox and used "INSPECT ELEMENT". While on the page I did a LEFT CLICK and from drop down I chose INSPECT ELEMENT.

    enter image description here

    1. Then I clicked on the PICK AN ELEMENT icon, as seen in the picture and then I hovered over the element I wanted to edit, in this case a button in the menu. This gave me the class I needed to edit.

    2. I went into my DASHBOARD in WordPress and made this change to the code. Finally I got the results I was looking for, which I also included in the same picture as well.

    enter image description here

    Although I have not figured out how to edit the sub-menus yet I believe I am on the right track and will figure it out.

    HOPE THIS HELPS SOMEONE. :)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 chaquopy python 安卓
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 有没有帮写代码做实验仿真的
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥30 vmware exsi重置后登不上
  • ¥15 易盾点选的cb参数怎么解啊
  • ¥15 MATLAB运行显示错误,如何解决?
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容
  • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题