Support > cpg1.6 themes (visuals)

Center Admin Buttons

(1/3) > >>

justmickie:
Hi, I am developing a theme and have hit an issue

I am attempting to center the admin menu and have not figured out as yet how.
My first attachment is what I have, the second is a photoshoped image of what I want

I have looked at the css code of everything marked .admin_menu
I tried to remove .admin_float and got what is pictured in the 3rd image
So then I tried to replace the values of float with display flex values ranter than display block in an attempt to have more control and it didn't affect it.
I can't figure out what I am missing?

ron4mac:
A link to your site with the theme will get you much more help.

justmickie:
Here is the link : http://coppermine.geekgirl-chic.com/index.php

Since it is the admin panel I didn't think a link would help, since you can't see it from the link
So I included the attached screen grabs in the first post
And I am being paid to create the theme, so I can't upload a copy

Centering the sys & sub menus was easy, its just the admin buttons
I can't figure out why its so dependent on the float css to stay normal sized
or why i can't control the divs with display: flex rather than display: block
I just want to get them centered. With the new format in 1.6 making the rows and grouping the buttons is super easy
If I can just get a handle on centering the groups I will be a super happy camper

Thanks for any help you can offer

ron4mac:
If it makes any difference ... the link you provided points to a CPG 1.5.46 gallery.

ron4mac:

For .admin_float :
get rid of float:left
set display:inline-block

For .admin_menu_wrapper :
set text-align:center

Navigation

[0] Message Index

[#] Next page

Go to full version