bootstrap carusel control remains white color after clicked
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
add a comment |
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
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
add a comment |
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
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
html css twitter-bootstrap-3
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
Use the below CSS:
.carousel-control:focus, .carousel-control:hover {
opacity: 0.6 !important;
}
.carousel-indicators{
display: none;
}
.row-1{
margin-top:-7vw;
}
Hope this solves
– Suprabha
Nov 21 '18 at 10:12
yep, Thanks. That solved my problem!
– boandriy
Nov 21 '18 at 10:57
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Use the below CSS:
.carousel-control:focus, .carousel-control:hover {
opacity: 0.6 !important;
}
.carousel-indicators{
display: none;
}
.row-1{
margin-top:-7vw;
}
Hope this solves
– Suprabha
Nov 21 '18 at 10:12
yep, Thanks. That solved my problem!
– boandriy
Nov 21 '18 at 10:57
add a comment |
Use the below CSS:
.carousel-control:focus, .carousel-control:hover {
opacity: 0.6 !important;
}
.carousel-indicators{
display: none;
}
.row-1{
margin-top:-7vw;
}
Hope this solves
– Suprabha
Nov 21 '18 at 10:12
yep, Thanks. That solved my problem!
– boandriy
Nov 21 '18 at 10:57
add a comment |
Use the below CSS:
.carousel-control:focus, .carousel-control:hover {
opacity: 0.6 !important;
}
.carousel-indicators{
display: none;
}
.row-1{
margin-top:-7vw;
}
Use the below CSS:
.carousel-control:focus, .carousel-control:hover {
opacity: 0.6 !important;
}
.carousel-indicators{
display: none;
}
.row-1{
margin-top:-7vw;
}
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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