I have a site based on a template that I bought in themeforrest, the homepage banner for this site has its height adjusted by this attribute: data-start-height (which I had never used, I know html and css intermediately). I would like to change this attribute according to the user's device by media queries, I know to change the default height css, but I would not like to tweak the html structure of the site so I was wondering if it's possible to modify this data-start-height by means of queries or another similar solution.
<section class="main-slider" data-start-height="550" data-slide-overlay="yes">