Removing the border from the first footer/nav item
Permalink
Hi there,
I know there are multiple posts on this subject, but I can't get any of the code to work in my situation and was wondering if someone would be able to assist? I simply want to remove the border from the first item in my footer:http://crimsonnight.com/
Any help would be appreciated, thanks
I know there are multiple posts on this subject, but I can't get any of the code to work in my situation and was wondering if someone would be able to assist? I simply want to remove the border from the first item in my footer:http://crimsonnight.com/
Any help would be appreciated, thanks
Have use tried using a pseudo class?
To add to that:
You can change the CSS by clicking on the block and choosing Design, then CSS tab, then add the code to Additional CSS.
You can change the CSS by clicking on the block and choosing Design, then CSS tab, then add the code to Additional CSS.
I tried that, didn't seem to work - anywhere in particular I should try inserting the code? I tried the 'Additional CSS' as suggested below but no luck
Ok, I was wrong about where to put the CSS code. Just add a block of type "HTML" to your page and put this is in it:
<style> .footer-nav li:first-child { border-left: 0 !important; } </style>
Thanks you! So I know for the future, why was this the correct way to approach the situation as opposed to adding addition CSS through design, or directly modifying CSS files on the server? Cheers
I think Additional CSS goes into the html element of the block's style attribute.
Directly modifying CSS files on the server is probably a little cleaner, but it would be overwritten if you upgraded the theme.
Actually, an even better way may have been to create a custom template for that block type, with just the css changed.
Directly modifying CSS files on the server is probably a little cleaner, but it would be overwritten if you upgraded the theme.
Actually, an even better way may have been to create a custom template for that block type, with just the css changed.