Support » Theme: ColorWay » Adding buttons

  • Please someone help me.. I am using the colorway theme and have noticed since adding the two buttons on the right top of each page that my page views poorly on mobile devices. How do i make the buttons appear correctly on a mobile device.
    Also, is it true that I will lose all my work if I were to upgrade to another inkthemes template? I was considering The Regal but don’t want to lose all of my work, especially blog posting. Thanks. the url is:
    foryourprivilegedpets.com

    All the best, D

    http://wordpress.org/extend/themes/colorway/

Viewing 15 replies - 1 through 15 (of 23 total)
  • Moderator Andrew Nevins

    (@anevins)

    How do i make the buttons appear correctly on a mobile device.

    Sorry, can you define your expectations of the buttons displaying correctly?

    sure, on my android device, the green buttons take over the top of the screen. Do you have a mobile device you can view it on to see what I mean?

    Moderator Andrew Nevins

    (@anevins)

    I can see what you mean, but you haven’t expressed how you would expect the buttons to appear.

    awww, gotcha! I would like them to appear under the logo and before the page navigational menu. Both aligned, one on top of the other? doesn’t matter which one on top… does that make sense? sorry this is all new to me:)

    Moderator Andrew Nevins

    (@anevins)

    Do you have a place in the dashboard to hold your CSS modifications, other than modifying the theme’s files?

    Moderator Andrew Nevins

    (@anevins)

    You need to add this CSS;

    @media only screen and (max-device-width: 480px) {
    
     a.maxbutton-1,
     a.maxbutton-6 {
      position: initial !important;
      display: block;
      margin: 0 auto;
      width: 300px;
     }
    
     a.maxbutton-1 {
      margin-top: 20px !important;
     }
    
    }

    You may want to avoid using !important on all of your styles. It’s unnecessary.

    yes i do.. I have updated the theme quite a bit that way:)

    ok I did what you said and entered the code, but on my phone it is still off. perhaps it is my settings on my mobile device. could you check on yours and tell me how it looks. thanks so much for your help! I have been pulling out my hair trying to figure this out.

    Moderator Andrew Nevins

    (@anevins)

    How are you adding the CSS, how is it within the <body> section?

    I thought I was doing it right by adding it to the css style sheet within the theme options. Now I am getting a parse error when I try to log in. the error is

    Parse error: syntax error, unexpected ‘,’ in /home/content/97/10273797/html/wp-content/themes/colorway/functions/options-medialibrary-uploader.php on line 285

    I have no clue but am going to contact godaddy and see if they know how to fix this:) I will let you know once it is fixed so we can proceed getting these buttons fixed. thanks for your help with this…

    I fixed my little problem with the parse error. All is good now on to the buttons being responsive. Is the code suppose to be in the css stylesheet or somewhere else? thanks again for your help..

    Hey Andrew, still having issues with this. I am placing the code in the css stylesheet. Please let me know what I am doing wrong. Thanks!

    Moderator Andrew Nevins

    (@anevins)

    There is some CSS within the <body> element with !important styles. That will override your stylesheet.

    Why are there styles in the <body> section?

    I am completely confused… I placed the code under
    dashboard>appearance>editcss>

    Are you saying that i need to take out all of the !important coding in order for the code you gave me to work? sorry, very new to this!

    Moderator Andrew Nevins

    (@anevins)

    I’d first focus on the method you’re using to add CSS.
    Edit CSS, is that an option given by the Jetpack plugin?

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Adding buttons’ is closed to new replies.