• Alaa Gamal

    (@alaa-gamal)


    Hello ,,

    i am working about wordpress theme

    but i had problem in menu !

    <div id=”adminmenu”>
    <ul style=”width:200px;” id=”menu”>

    Now i want change width:200px; / to width:40%

    i want it be
    <ul style=”width:40%;” id=”menu”>

    To comply with all sizes of screens

    but that not working !!

Viewing 5 replies - 1 through 5 (of 5 total)
  • lockettpots

    (@lockettpots)

    Can you post a link to your site?

    Thread Starter Alaa Gamal

    (@alaa-gamal)

    i am sorry it’s on localhost

    and that’s question , not problem !

    how i can change width from “px” To “%”

    esmi

    (@esmi)

    Since we can’t see your site, we have no idea why, in your opinion, it’s not working. There’s nothing wrong with the code you posted above.

    Thread Starter Alaa Gamal

    (@alaa-gamal)

    Hello esmi ,,

    i have installed wordpress latest version on my localhost ,

    and trying to make my own admin panel theme !

    i changed menu to 300px; it’s became Good

    but i have another small screen ,

    i get it so big ! and not good :S

    so i am trying to change 300px; to 40% // as example

    when i change it , i get it so small , Like Hidden !

    and if i changed it to 100% does not affect

    i think the % does not effect the size

    i did’t make any changes before that !

    i hope you understanded me , and sorry for my english .

    esmi

    (@esmi)

    It’s not your English that is the problem. This is simply a situation where we need to see the problem on the site to understand it. There is nothing wrong with the code snippet you posted. So if you have problems, they must be elsewhere in your CSS.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘problem in Menu css !’ is closed to new replies.