Hi, here is my screenshot:
I would like to change the font size of the subheading (it was called subheading in the setting) of the slideshow. I am using Palo Alto theme. The below is slideshow section of the theme.css
Thank you.
/*================ Slideshow ================*/
.slider {
position: relative;
overflow: hidden;
}
.slider[data-current-style=text-dark] .slider__scroll-down path {
fill: black;
}
.slider[data-current-style=text-dark] .flickity-page-dots .dot {
border-color: black;
}
.slider[data-current-style=text-dark] .flickity-prev-next-button .arrow {
fill: black;
}
.slider[data-current-style=text-dark] .slider__arrow {
color: black;
}
.slider[data-current-style=text-light] .slider__scroll-down path {
fill: white;
}
.slider[data-current-style=text-light] .flickity-page-dots .dot {
border-color: white;
}
.slider[data-current-style=text-light] .flickity-prev-next-button .arrow {
fill: white;
}
.slider[data-current-style=text-light] .slider__arrow {
color: white;
}
.slider--zoom-out img,
.slider--zoom-out .slide-background,
.slider--zoom-out .slide-image__container {
transform: scale(1.15);
transition: transform 0s ease-out 0.5s !important;
}
.slider--zoom-out .is-selected img.lazyloaded,
.slider--zoom-out .is-selected .slide-background.lazyloaded,
.slider--zoom-out .is-selected .slide-background.placeholder-bg,
.slider--zoom-out .is-selected .slide-image__container {
transform: scale(1);
transition: transform 3s ease-out, opacity 0.3s ease-in !important;
}
.slider--zoom-out.no-transition .slide-background, .slider--zoom-out.no-transition .slide-image__container, .slider--zoom-out.no-transition img {
transition: none;
}
.slider--zoom-out .flickity-slider {
transform: none !important;
}
.slider--zoom-out .item {
left: 0 !important;
opacity: 0;
z-index: -1;
transition: opacity 0s linear 0.5s;
}
.slider--zoom-out .item.is-selected {
opacity: 1;
z-index: 0;
transition: opacity 0.5s ease-in-out;
}
.slider--fade .flickity-slider {
transform: none !important;
}
.slider--fade .item {
left: 0 !important;
opacity: 0;
z-index: -1;
transition: opacity 0s linear 0.5s;
}
.slider--fade .item.is-selected {
opacity: 1;
z-index: 0;
transition: opacity 0.5s ease-in-out;
}
.slider .flickity-page-dots {
bottom: 10px;
padding: 0 50px;
margin-bottom: 15px;
}
@media screen and (max-width: 479px) {
.slider .flickity-page-dots {
padding: 0 25px;
}
}
.flickity-page-dots .dot:first-child {
margin-left: 0;
}
.flickity-page-dots .dot:last-child {
margin-right: 0;
}
.slider--left .flickity-page-dots {
text-align: left;
}
.slider--right .flickity-page-dots {
text-align: right;
}
.slider--bottom-left .flickity-page-dots {
text-align: left;
}
.slider--bottom-right .flickity-page-dots {
text-align: right;
}
.slider--center .flickity-page-dots {
text-align: center;
}
.slider--center.slider--has-arrow .flickity-page-dots {
bottom: 30px;
}
.text-left .flickity-page-dots {
text-align: left;
}
.text-center .flickity-page-dots {
text-align: center;
}
.text-right .flickity-page-dots {
text-align: right;
}
.slider--center {
text-align: center;
}
.slider--left,
.slider--bottom-left {
text-align: left;
}
.slider--left .wrapper,
.slider--left .button,
.slider--bottom-left .wrapper,
.slider--bottom-left .button {
margin-left: 0;
}
.slider--right,
.slider--bottom-right {
text-align: right;
}
.slider--right .wrapper,
.slider--right .button,
.slider--bottom-right .wrapper,
.slider--bottom-right .button {
margin-right: 0;
}
.slider--bottom-left .slider-text-block,
.slider--bottom-right .slider-text-block {
top: auto;
bottom: 0;
}
.item--text-light {
background: #000;
}
.item--text-light .main-heading,
.item--text-light .main-subheading,
.item--text-light .secondary-call-to-action {
color: white;
}
.item--text-dark {
background: #fff;
}
.item--text-dark .main-heading,
.item--text-dark .main-subheading,
.item--text-dark .secondary-call-to-action {
color: black;
}
.slider__scroll-down {
position: absolute;
display: inline-block;
left: 50%;
bottom: 0;
width: 44px;
height: 44px;
margin-left: -22px;
z-index: 10;
}
.slider__scroll-down .icon-arrow-down {
display: block;
width: 100%;
height: 100%;
transform: rotate(90deg);
}
.slide-image__container {
position: relative;
height: 0;
width: 100%;
min-height: inherit;
padding-top: 66%;
}
.slide-image__container img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
}
.slide-image__container svg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
@media screen and (min-width: 768px) {
.slide-image__container--mobile {
display: none;
}
}
@media screen and (max-width: 767px) {
.slide-image__container--mobile ~ .slide-image__container--desktop {
display: none;
}
}
@media screen and (min-width: 768px) {
.image-mobile {
display: none;
}
}
@media screen and (max-width: 767px) {
.image-mobile ~ .image-desktop {
display: none;
}
}
.slide__heading {
line-height: 1.08;
}
.slider__arrow {
position: absolute;
z-index: 1;
top: 50%;
width: 50px;
height: 50px;
border: none;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 28px;
line-height: 1;
transform: translateY(-50%);
}
.slider__arrow svg {
display: block;
max-width: 100%;
max-height: 100%;
}
@media screen and (max-width: 479px) {
.slider__arrow {
display: none;
}
}
.slider--disabled .slider__arrow {
display: none;
}
.slider__arrow--previous {
left: 0px;
}
.slider__arrow--previous .custom-icon-arrow-right,
.slider__arrow--previous .icon-arrow-right {
transform: rotate(180deg);
}
.slider__arrow--next {
right: 0px;
}
.slider-text-block {
position: absolute;
z-index: 100;
top: 0;
left: 0;
bottom: 0;
right: 0;
display: flex;
align-items: center;
justify-content: center;
}
.slider-text-block > div {
width: 100%;
}
.slider-text-block .wrapper {
padding-top: 50px;
padding-bottom: 50px;
}
.slider--has-arrow .wrapper,
[data-page-dots=true] .wrapper {
margin-top: 30px;
margin-bottom: 30px;
}
@media screen and (max-width: 479px) {
[data-page-dots=true] .slider--has-arrow.slider--center .slider-text-block .wrapper {
margin-bottom: 50px;
}
}
.slide__buttons a {
margin: 10px 8px 0;
}
.slide__buttons a:first-child {
margin-left: 0;
}
.slide__buttons a:last-child {
margin-right: 0;
}
@media screen and (max-width: 479px) {
.slide__buttons a {
margin: 10px 0 0;
display: block;
}
}
@media screen and (min-width: 480px) {
.slider--left .slide__buttons a, .slider--bottom-left .slide__buttons a {
margin-left: 0;
margin-right: 16px;
}
.slider--right .slide__buttons a, .slider--bottom-right .slide__buttons a {
margin-left: 16px;
margin-right: 0;
}
}
.slide-background {
position: relative;
width: 100%;
height: 100%;
min-height: inherit;
background-size: cover;
background-repeat: no-repeat;
}
.slide-background.placeholder-bg {
opacity: 0.3;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
.placeholder-bg {
background-size: contain !important;
background-position: center center !important;
}
.placeholder-svg--overlayed {
position: relative;
}
.placeholder-svg--overlayed::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
opacity: 0.2;
}
.slider .custom-icon-arrow-right:before {
font-size: 26px;
}
.item {
width: 100%;
position: relative;
overflow: hidden;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
min-height: 240px;
}
.secondary-call-to-action {
font-size: 14px;
display: inline-block;
line-height: 30px;
letter-spacing: 2px;
position: relative;
text-transform: uppercase;
color: var(--color-text-heading);
font-family: var(--body-font-family);
font-weight: var(--body-font-weight);
font-style: var(--body-font-style);
transition: opacity 0.2s ease;
}
.secondary-call-to-action:hover, .secondary-call-to-action:focus, .secondary-call-to-action:active {
opacity: 0.7;
}
.secondary-call-to-action span {
display: inline-block;
vertical-align: middle;
margin-left: 4px;
}
@media screen and (max-width: 767px) {
.secondary-call-to-action {
display: inline-block;
margin-top: 25px;
}
}
.call-to-action-circle {
position: relative;
display: inline-block;
font-size: 30px;
line-height: 1;
height: 30px;
width: 32px;
text-align: center;
vertical-align: middle;
}
.call-to-action-triangle {
font-size: 14px;
margin: auto;
position: absolute;
top: 50%;
left: 50%;
width: 10px;
height: 15px;
margin-top: -11px;
margin-left: -12px;
}
Sorry for facing this issue, it's my pleasure to help us.
Welcome to the Shopify community!
and Thanks for your Good question.
Please share your site URL,
So I will check and provide a solution here.
Thanks, store URL sorry but your store is password protect.
no, probalem
can you please share store preview url.
User | Count |
---|---|
546 | |
209 | |
125 | |
80 | |
41 |