Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You can easily grab the style sheet if the site is live somewhere? Save it as a new file.css and re-link the pages to it. Do what you want with it. What do you have access to if I'm missing something?
-
@helloworld I can get the main CSS file from chrome inspection tool, but I don't have the permission to change it. I can only add the rules in my file which was conflicting with the main CSS file, that's why I had to add
!important
to the lines. -
@mohammed that's bonkers, I don't understand why you can't have full access if you are doing this kind of work. What happens if you need to alter some div placement in the html?
I remember making a static site responsive and also implementing a full cms for a site. It was quicker to re-do the whole thing, as everything was fixed width and bloated. Starting clean it was efficient and slicker. Good luck, but !important will cause you problems I'm sure. -
@helloworld the reason is I'm a junior developer on internship and I guess they don't trust me for some reason!
-
@mohammed I see. Ask them to clone it and give you proper access because the way your expected to do it is a complete waste of time.
-
@helloworld already did, they said they don't have time to clone it and I have to deal with it.
Related Rants
When you have to make a website responsive and you don't have access to the main CSS file, every single line of css you write contains
"!important".
undefined
web development
css