bootstrap carusel control remains white color after clicked











up vote
0
down vote

favorite












I have a problem with bootstrap carusel-control arrows that change the slides on click. When I click on the arrow on the phone its opacity holds to the value of 1, the default opacity of the arrows is 0.5(when the arrow is not hovered nor it is clicked). I want the carusel-control Arrow to remain opacity 0.5 after being cliked. On the Pc it is solved by the following code:



.carousel-control:focus{
opacity: 0.6;
}


but on the phone it does not work.
I have an example link, but for unknown to me reasons the code above doesnt work on that example: https://jsfiddle.net/borovec/psrxt7ay/25/



Appreciate any help.










share|improve this question
























  • Try to run this on local: jsfiddle.net/pxovc3js Is that what you want ?
    – Majestic
    yesterday










  • Yes on local it works on PC, but on the phone the opacity of the arrows remains 1.
    – boandriy
    yesterday










  • Did you try to emulate the code on mobile view with F+12 ? Because it looks like it's working for me.
    – Majestic
    yesterday

















up vote
0
down vote

favorite












I have a problem with bootstrap carusel-control arrows that change the slides on click. When I click on the arrow on the phone its opacity holds to the value of 1, the default opacity of the arrows is 0.5(when the arrow is not hovered nor it is clicked). I want the carusel-control Arrow to remain opacity 0.5 after being cliked. On the Pc it is solved by the following code:



.carousel-control:focus{
opacity: 0.6;
}


but on the phone it does not work.
I have an example link, but for unknown to me reasons the code above doesnt work on that example: https://jsfiddle.net/borovec/psrxt7ay/25/



Appreciate any help.










share|improve this question
























  • Try to run this on local: jsfiddle.net/pxovc3js Is that what you want ?
    – Majestic
    yesterday










  • Yes on local it works on PC, but on the phone the opacity of the arrows remains 1.
    – boandriy
    yesterday










  • Did you try to emulate the code on mobile view with F+12 ? Because it looks like it's working for me.
    – Majestic
    yesterday















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a problem with bootstrap carusel-control arrows that change the slides on click. When I click on the arrow on the phone its opacity holds to the value of 1, the default opacity of the arrows is 0.5(when the arrow is not hovered nor it is clicked). I want the carusel-control Arrow to remain opacity 0.5 after being cliked. On the Pc it is solved by the following code:



.carousel-control:focus{
opacity: 0.6;
}


but on the phone it does not work.
I have an example link, but for unknown to me reasons the code above doesnt work on that example: https://jsfiddle.net/borovec/psrxt7ay/25/



Appreciate any help.










share|improve this question















I have a problem with bootstrap carusel-control arrows that change the slides on click. When I click on the arrow on the phone its opacity holds to the value of 1, the default opacity of the arrows is 0.5(when the arrow is not hovered nor it is clicked). I want the carusel-control Arrow to remain opacity 0.5 after being cliked. On the Pc it is solved by the following code:



.carousel-control:focus{
opacity: 0.6;
}


but on the phone it does not work.
I have an example link, but for unknown to me reasons the code above doesnt work on that example: https://jsfiddle.net/borovec/psrxt7ay/25/



Appreciate any help.







html css twitter-bootstrap-3






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday

























asked yesterday









boandriy

237214




237214












  • Try to run this on local: jsfiddle.net/pxovc3js Is that what you want ?
    – Majestic
    yesterday










  • Yes on local it works on PC, but on the phone the opacity of the arrows remains 1.
    – boandriy
    yesterday










  • Did you try to emulate the code on mobile view with F+12 ? Because it looks like it's working for me.
    – Majestic
    yesterday




















  • Try to run this on local: jsfiddle.net/pxovc3js Is that what you want ?
    – Majestic
    yesterday










  • Yes on local it works on PC, but on the phone the opacity of the arrows remains 1.
    – boandriy
    yesterday










  • Did you try to emulate the code on mobile view with F+12 ? Because it looks like it's working for me.
    – Majestic
    yesterday


















Try to run this on local: jsfiddle.net/pxovc3js Is that what you want ?
– Majestic
yesterday




Try to run this on local: jsfiddle.net/pxovc3js Is that what you want ?
– Majestic
yesterday












Yes on local it works on PC, but on the phone the opacity of the arrows remains 1.
– boandriy
yesterday




Yes on local it works on PC, but on the phone the opacity of the arrows remains 1.
– boandriy
yesterday












Did you try to emulate the code on mobile view with F+12 ? Because it looks like it's working for me.
– Majestic
yesterday






Did you try to emulate the code on mobile view with F+12 ? Because it looks like it's working for me.
– Majestic
yesterday














1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










Use the below CSS:



.carousel-control:focus, .carousel-control:hover {
opacity: 0.6 !important;
}

.carousel-indicators{
display: none;
}

.row-1{
margin-top:-7vw;
}





share|improve this answer





















  • Hope this solves
    – Suprabha
    yesterday










  • yep, Thanks. That solved my problem!
    – boandriy
    yesterday











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53409225%2fbootstrap-carusel-control-remains-white-color-after-clicked%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










Use the below CSS:



.carousel-control:focus, .carousel-control:hover {
opacity: 0.6 !important;
}

.carousel-indicators{
display: none;
}

.row-1{
margin-top:-7vw;
}





share|improve this answer





















  • Hope this solves
    – Suprabha
    yesterday










  • yep, Thanks. That solved my problem!
    – boandriy
    yesterday















up vote
1
down vote



accepted










Use the below CSS:



.carousel-control:focus, .carousel-control:hover {
opacity: 0.6 !important;
}

.carousel-indicators{
display: none;
}

.row-1{
margin-top:-7vw;
}





share|improve this answer





















  • Hope this solves
    – Suprabha
    yesterday










  • yep, Thanks. That solved my problem!
    – boandriy
    yesterday













up vote
1
down vote



accepted







up vote
1
down vote



accepted






Use the below CSS:



.carousel-control:focus, .carousel-control:hover {
opacity: 0.6 !important;
}

.carousel-indicators{
display: none;
}

.row-1{
margin-top:-7vw;
}





share|improve this answer












Use the below CSS:



.carousel-control:focus, .carousel-control:hover {
opacity: 0.6 !important;
}

.carousel-indicators{
display: none;
}

.row-1{
margin-top:-7vw;
}






share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









Suprabha

1094




1094












  • Hope this solves
    – Suprabha
    yesterday










  • yep, Thanks. That solved my problem!
    – boandriy
    yesterday


















  • Hope this solves
    – Suprabha
    yesterday










  • yep, Thanks. That solved my problem!
    – boandriy
    yesterday
















Hope this solves
– Suprabha
yesterday




Hope this solves
– Suprabha
yesterday












yep, Thanks. That solved my problem!
– boandriy
yesterday




yep, Thanks. That solved my problem!
– boandriy
yesterday


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53409225%2fbootstrap-carusel-control-remains-white-color-after-clicked%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

Calculate evaluation metrics using cross_val_predict sklearn

Insert data from modal to MySQL (multiple modal on website)