bootstrap carusel control remains white color after clicked












0















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
    Nov 21 '18 at 10:04











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

    – boandriy
    Nov 21 '18 at 10:10











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

    – Majestic
    Nov 21 '18 at 10:11


















0















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
    Nov 21 '18 at 10:04











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

    – boandriy
    Nov 21 '18 at 10:10











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

    – Majestic
    Nov 21 '18 at 10:11
















0












0








0








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 Nov 21 '18 at 9:53







boandriy

















asked Nov 21 '18 at 9:46









boandriyboandriy

231314




231314













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

    – Majestic
    Nov 21 '18 at 10:04











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

    – boandriy
    Nov 21 '18 at 10:10











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

    – Majestic
    Nov 21 '18 at 10:11





















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

    – Majestic
    Nov 21 '18 at 10:04











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

    – boandriy
    Nov 21 '18 at 10:10











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

    – Majestic
    Nov 21 '18 at 10:11



















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

– Majestic
Nov 21 '18 at 10:04





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

– Majestic
Nov 21 '18 at 10:04













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

– boandriy
Nov 21 '18 at 10:10





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

– boandriy
Nov 21 '18 at 10:10













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

– Majestic
Nov 21 '18 at 10:11







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

– Majestic
Nov 21 '18 at 10:11














1 Answer
1






active

oldest

votes


















1














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
    Nov 21 '18 at 10:12











  • yep, Thanks. That solved my problem!

    – boandriy
    Nov 21 '18 at 10:57











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',
autoActivateHeartbeat: false,
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









1














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
    Nov 21 '18 at 10:12











  • yep, Thanks. That solved my problem!

    – boandriy
    Nov 21 '18 at 10:57
















1














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
    Nov 21 '18 at 10:12











  • yep, Thanks. That solved my problem!

    – boandriy
    Nov 21 '18 at 10:57














1












1








1







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 Nov 21 '18 at 10:11









SuprabhaSuprabha

1566




1566













  • Hope this solves

    – Suprabha
    Nov 21 '18 at 10:12











  • yep, Thanks. That solved my problem!

    – boandriy
    Nov 21 '18 at 10:57



















  • Hope this solves

    – Suprabha
    Nov 21 '18 at 10:12











  • yep, Thanks. That solved my problem!

    – boandriy
    Nov 21 '18 at 10:57

















Hope this solves

– Suprabha
Nov 21 '18 at 10:12





Hope this solves

– Suprabha
Nov 21 '18 at 10:12













yep, Thanks. That solved my problem!

– boandriy
Nov 21 '18 at 10:57





yep, Thanks. That solved my problem!

– boandriy
Nov 21 '18 at 10:57




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




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

'app-layout' is not a known element: how to share Component with different Modules

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

WPF add header to Image with URL pettitions [duplicate]