Gazette removing images from navigation buttons css
-
Dear all,
The blog I need help with is;antoniacollages.com.
I would like to remove the images from the navigation buttons at the end of my blogposts. It would be better for my lay-out id only the text prevoiuos and next would appear.Is there a css code for altering the butoons?
I do hope so!
Best,
AntoniaThe blog I need help with is: (visible only to logged in users)
-
Hi Antonia, Let’s start with this CSS. I suspect you are going to want to make some other adjustments to things.
.post-navigation .nav-previous, .post-navigation .nav-next { background-image: none; } .post-navigation .nav-previous a, .post-navigation .nav-next a { background-color: rgba(0, 0, 0, 0); text-shadow: none; padding-top: 10px; padding-bottom: 10px; } .post-navigation .nav-previous .post-title, .post-navigation .nav-previous a:hover .post-title, .post-navigation .nav-previous .meta-nav, .post-navigation .nav-next .post-title, .post-navigation .nav-next a:hover .post-title, .post-navigation .nav-next .meta-nav { color: #000; text-align: center; } .post-navigation .nav-previous .post-title, .post-navigation .nav-next .post-title { display: none; } .post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover { background-color: rgba(0, 0, 0, 0); } -
Try this. Go to your CSS customization section and add this code.
.post-navigation .nav-previous {
background-image: url( );
}.post-navigation .nav-previous{
background-image: url( );
}That should override the current image code.
-
@sacredpath; thanks, that worked well.
The only change i would like to make ia that the previous text is placed on the left, and NEXT on the right. next to each other. Is that a possibility? -
Give this a try and see if this is what you are looking for. Place this below all your other CSS.
.post-navigation .nav-previous a { float: left; padding-left: 0; } .post-navigation .nav-next a { float: right; padding-right: 0; } -
-
- The topic ‘Gazette removing images from navigation buttons css’ is closed to new replies.