Raj Kara
asked 10 years ago

Is there any way of removing the arrows from a gallery post? 
I only want to use 1 image and don’t need the arrows – The reason for this is that I want to have a feature post on the home page that can’t be clicked through.
Cheers

1 Answers
DominicStaff
answered 10 years ago

Hope that you are well today, my friend.
To remove the arrows from a gallery post, please follow the jetpack’s guideline in the Blog article on how to use Edit CSS here. http://designwall.com/blog/using-jetpack-custom-css-for-your-wordpress-site/
After that, just add the following code to the Edit Css.

.carousel-control {
    display: none;
}

Regards,

Raj Kara
replied 10 years ago

Cheers Buddy

Raj Kara
replied 10 years ago

Hi Dominic – Will I be able to use this code to remove the arrows from 1 gallery post or will this effect all gallery posts on the site?
Url is http://theretailroom.co.uk – you will see a main pink feature box on the left – I have used the gallery post setting because the quality of the image is better than if I make the post a standard post (not sure why that is!)

Cheers
Raj

Raj Kara
replied 10 years ago

Hi Again – yes the code given does apply globally and stops the gallery rotating through the images. I only want to apply this to 1 post – is that possible?
cheers
Raj

Dominic Staff
replied 10 years ago

If you want to remove only on single post, you can add the following code to the Editor CSS.
.single-post .carousel-control.right {
display: none;
}
.single-post .carousel-control.left {
display: none;
}
Regards

Raj Kara
replied 10 years ago

Hi – Doesn’t seem to work – perhaps I’m not being clear. I have a post that has nothing but an image in it. I have chosen the gallery post because there is no content to link to – so on the homepage the post just appears as 1 image with arrows – How do I remove the arrows. How to I use the code supplied above in Editor CSS and point it to the specific post I want? Thanks for all your help
Cheers

Dominic Staff
replied 10 years ago

You can send me a screenshot & your site for further checking.

Powered by DW Question & Answer Pro