Results 1 to 2 of 2

Thread: Mattblacktabs, making dropdown menu bigger on iOS/Android Display

  1. #1
    Join Date
    Jan 2015
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Mattblacktabs, making dropdown menu bigger on iOS/Android Display

    Hi all,

    Hope you are well, Apologies for such a newbie-ish first post. I have the following mattblacktabs layout for my dashboard, which is fine when on a non mobile browser. I love the fact that when it is on a mobile the menu can dropdown. However, I'd like to make the menu take up more of the screen and the text be easier to read when displayed on iOS with bigger dropdowns and a bigger font.

    Would you please be able to help?

    Have attached a screengrab of how it looks on an Apple iOS mobile.

    Many thanks

    Tom

    Below is the .CSS
    Code:
    <style type="text/css">
    
    .mattblacktabs{
    width: 100%;
    overflow: hidden;
    border-bottom: 3px solid black; /*bottom horizontal line that runs beneath tabs*/
    }
    
    .mattblacktabs ul{
    margin: 0;
    padding: 0;
    padding-left: 10px; /*offset of tabs relative to browser left edge*/
    font: bold 12px Verdana;
    list-style-type: none;
    }
    
    .mattblacktabs li{
    display: inline;
    margin: 0;
    }
    
    .mattblacktabs li a{
    float: left;
    display: block;
    text-decoration: none;
    margin: 0;
    padding: 7px 8px; /*padding inside each tab*/
    border-right: 1px solid white; /*right divider between tabs*/
    color: white;
    background: #414141; /*background of tabs (default state)*/
    }
    
    .mattblacktabs li a:visited{
    color: white;
    }
    
    .mattblacktabs li a:hover, .mattblacktabs li.selected a{
    background: black; /*background of tabs for hover state, plus tab with "selected" class assigned to its LI */
    }
    
    </style>
    Click image for larger version. 

Name:	iOSProblem.jpg 
Views:	200 
Size:	8.5 KB 
ID:	5569
    Last edited by Beverleyh; 01-06-2015 at 05:57 PM. Reason: Formatting

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.


    Please post a link to the page on your site that contains the problematic script so we can check it out.


    Without a link to your web page, you can start by changing the parts highlighted to higher values in your mobile stylesheet;
    Code:
    <style type="text/css">
    
    .mattblacktabs{
    width: 100%;
    overflow: hidden;
    border-bottom: 3px solid black; /*bottom horizontal line that runs beneath tabs*/
    }
    
    .mattblacktabs ul{
    margin: 0;
    padding: 0;
    padding-left: 10px; /*offset of tabs relative to browser left edge*/
    font: bold 12px Verdana;
    list-style-type: none;
    }
    
    .mattblacktabs li{
    display: inline;
    margin: 0;
    }
    
    .mattblacktabs li a{
    float: left;
    display: block;
    text-decoration: none;
    margin: 0;
    padding: 7px 8px; /*padding inside each tab*/
    border-right: 1px solid white; /*right divider between tabs*/
    color: white;
    background: #414141; /*background of tabs (default state)*/
    }
    
    .mattblacktabs li a:visited{
    color: white;
    }
    
    .mattblacktabs li a:hover, .mattblacktabs li.selected a{
    background: black; /*background of tabs for hover state, plus tab with "selected" class assigned to its LI */
    }
    
    </style>
    If you need more help, please provide a link to your actual web page and also to the source script. If this is a DD script it should be moved to the dedicated DD script help forum.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

Similar Threads

  1. Smooth Navigational Menu (v1.51) on Android Tablet
    By mclaborn in forum Dynamic Drive scripts help
    Replies: 13
    Last Post: 03-23-2013, 05:13 PM
  2. Menu - issue with Android browser and sub menus
    By semmel in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 10-03-2012, 02:13 AM
  3. All Levels Menu - click issue on Android
    By semmel in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 09-07-2011, 05:50 PM
  4. Replies: 0
    Last Post: 03-07-2011, 10:21 AM
  5. Replies: 10
    Last Post: 02-26-2008, 05:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •