How to apply custom CSS?
-
Hi!
Have a general question about applying custom css:
On this URL:
http://hvalsafari.eybjorn.com/forside-1/
I am trying to remove the white spaces between sections. In firefox i use the inspector and I have found that I can adjust this by editing an “attribute” called margin-bottom. In the inspector I can read the following:
#pg-5956-0, #pg-5956-1, #pg-5956-2, #pl-5956 .panel-grid-cell .panel { margin-bottom: 30px; }I tried to apply this to my custom css but nothing happens. When I use the inspector, I can also see that I have more “levels” above this…for example a class called page-id-5956.
My question is, how must I apply this to my custom css. Do I need to start “on top” specifying every class from the page id and down. I am completely new to using CSS so my explantions might not be the best. Are just trying to get the logic on how to use the inpector to find the right variables to adjust and then add it to the CSS….
The topic ‘How to apply custom CSS?’ is closed to new replies.