1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Removing text below graph

Discussion in 'HTML & Website Design' started by imaginexhacked, Feb 10, 2016.

  1. #1
    Hi,

    We are constructing a debt repayment calculator

    https://www.bankruptcycanada.com/debt-repayment-calculator.php

    The results graph looks good on a desktop view but on the mobile devices the text below the graph becomes run together due to the lack of viewport width.

    Is it possible to remove the text (Consumer Proposal, Credit Counselling, Consolidation Loan, Regular Payments) from the graph on mobile devices but leave it for the desktop?

    Thanks
     
    Solved! View solution.
    imaginexhacked, Feb 10, 2016 IP
  2. #2
    Yes, but what you should do is create a proper website - that site looks horrible, and the content is threwn all over the place. The code is also quite bad.

    Anyway, to get rid of the text, set a display: none; on the .jqplot-xaxis-tick class, when the screensize gets too small (basically, use an @media-rule in the CSS-file)
     
    PoPSiCLe, Feb 10, 2016 IP
  3. imaginexhacked

    imaginexhacked Member

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    43
    #3
    Thanks, I'll use your post to help convince my partner we need a redesign and re-code.
     
    imaginexhacked, Feb 16, 2016 IP