Custom Style
-
Hello,
For about a year, I have added custom CSS into my child theme to change the look of the galleries. Now, it no longer works, how do I get this to work?Page: https://www.healthcarefornewengland.org/initiatives/cardiac-health/cardiac-health-resources/
I wanted to make several changes. See this code:
.gallery-caption::before{
height: 50%;
min-height: 49px;
position: static;
top: 115px;
left: 0;
font-style: normal;
}.wp-caption-text{
width:85%;
text-align: center;
}.gallery-caption{
margin-left: 5% !important;
opacity: 1;
font-weight: bold;
background-color: #fff;
color: #002c76;
max-height: 90%;
position: static;
hyphens: none;
font-style: normal;
}#mla_gallery-#{
position: relative;
-moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
-webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
/* padding: 10px;*/
background: white;
}.gallery-icon img::after{
content: ”;
position: absolute;
z-index: -1; /* hide shadow behind image */
/* -webkit-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
width: 70%;
left: 15%; /* one half of the remaining 30% */
height: 100px;
bottom: 0;
}The page I need help with: [log in to see the link]
- The topic ‘Custom Style’ is closed to new replies.