Support » How-To and Troubleshooting » Change one element of CSS on a single page

Change one element of CSS on a single page

  • Hi,

    I am having a lot of problems with changing the css for one page and making it work. Namely, I want to put an image grid like this on one of my pages, and I am using the code from that page.

    The theme that my website is using is a costume one, and I have found a style.css file which I can edit. I have tried adding the css needed at the end of the style.css file like this:

    .test ol.thumb-grid li {
    	float: left;
    	width: 15%;
    	margin: 0 5% 5% 0;
    .test ol.thumb-grid li:nth-child(5n) {
    	margin-right: 0;
    .test ol.thumb-grid li a img {
    	width: 100%;

    .test is the name of my page I want to edit, but after using this code nothing happens. What am I doing wrong?

    Thank you very much for you help!

  • The topic ‘Change one element of CSS on a single page’ is closed to new replies.