Changes between Initial Version and Version 1 of Ticket #5312, comment 1
- Timestamp:
- 12/25/2013 11:31:24 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5312, comment 1
initial v1 5 5 In the Wordpress core file: '''wp-includes/css/admin-bar.css''' move lines 1040-1043 6 6 7 ` #wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper { 7 {{{ 8 #wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper { 8 9 right: 0; 9 10 left: auto; 10 11 } 11 ` 12 }}} 13 12 14 out of the '''@media screen and ( max-width: 782px ) {''' area and place them in the '''@media screen and (max-width: 600px) {''' area. 13 15 … … 15 17 '''@media screen and (max-width: 600px) {''' so you end up with: 16 18 17 ` 19 20 {{{ 18 21 @media screen and (max-width: 600px) { 19 22 #wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper { … … 21 24 left: auto; 22 25 } 23 ` 26 }}} 27 24 28 25 29 This should also be done in the minified version of the same css file. … … 28 32 29 33 Search for: 30 '#wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper{right:0;left:auto}' 34 35 {{{ 36 #wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper{right:0;left:auto} 37 }}} 38 31 39 32 40 cut it out and place it right after 33 '@media screen and (max-width: 600px) {' 41 @media screen and (max-width: 600px) { 34 42 35 43 so you end up with: 36 '@media screen and (max-width: 600px) {#wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper{right:0;left:auto}' 44 45 {{{ 46 @media screen and (max-width: 600px) {#wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper{right:0;left:auto} 47 }}} 48 37 49 38 50 That fixes the issue in the Wordpress admin css. … … 42 54 Place the following at the tail end of your theme's style.css: 43 55 44 ` 56 57 58 {{{ 45 59 @media (min-width: 601px) 46 60 { … … 51 65 } 52 66 } 53 ` 67 }}} 68
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)