• HI ! css noob. I found a footer on codepen I wish to use on my site but when I embed directly it displays as the demo with the html and css tabs visible.

    So i figured I would paste the HTML and then edit the CSS for that module alone… I am trying to use a CSS selector and apply the CSS i have in layout settings. It’s not working as I would like, it targets the whole page and even then the footer looks nowhere near as I would expect it to

    Can I select a column module and edit the css in layout without selecting anything else?

    Thanks a lot to anyone that may be able to help
    ps i am using tesseract 2 theme.

    ——————————————–
    * {
    box-sizing: border-box;
    }

    html, body {
    height: 100%;
    }

    body {
    font: 11px “Open Sans”, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    }

    ul {
    list-style: none;
    }

    a {
    text-decoration: none;
    }

    .generic-anchor {
    color: #8DB9ED;
    }
    .generic-anchor:visited {
    color: #8DB9ED;
    }
    .generic-anchor:hover {
    color: #ccc;
    }

    .flex-rw {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    }

    main {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    font: 10em “Oswald”, sans-serif;
    color: #9b9b9b;
    line-height: 1;
    }

    footer {
    background: #373737;
    margin-top: auto;
    width: 100%;
    }

    .footer-list-top {
    width: 33.333%;
    }

    .footer-list-top > li {
    text-align: center;
    padding-bottom: 10px;
    }

    .footer-list-header {
    padding: 10px 0 5px 0;
    color: #fff;
    font: 2.3vw “Oswald”, sans-serif;
    }

    .footer-list-anchor {
    font: 1.3em “Open Sans”, sans-serif;
    }

    .footer-social-section {
    width: 100%;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    position: relative;
    margin-top: 5px;
    }

    .footer-social-section::after {
    content: “”;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 10px;
    border-top: 1px solid #ccc;
    width: calc(100% – 20px);
    }

    .footer-social-overlap {
    position: relative;
    z-index: 2;
    background: #373737;
    padding: 0 20px;
    }

    .footer-social-connect {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font: 3.5em “Oswald”, sans-serif;
    color: #fff;
    }

    .footer-social-small {
    font-size: 0.6em;
    padding: 0px 20px;
    }

    .footer-social-overlap > a {
    font-size: 3em;
    }

    .footer-social-overlap > a:not(:first-child) {
    margin-left: 0.38em;
    }

    .footer-bottom-section {
    width: 100%;
    padding: 10px;
    border-top: 1px solid #ccc;
    margin-top: 10px;
    }

    .footer-bottom-section > div:first-child {
    margin-right: auto;
    }

    .footer-bottom-wrapper {
    font-size: 1.5em;
    color: #fff;
    }

    .footer-address {
    display: inline;
    font-style: normal;
    }

    @media only screen and (max-width: 768px) {
    .footer-list-header {
    font-size: 2em;
    }

    .footer-list-anchor {
    font-size: 1.1em;
    }

    .footer-social-connect {
    font-size: 2.5em;
    }

    .footer-social-overlap > a {
    font-size: 2.24em;
    }

    .footer-bottom-wrapper {
    font-size: 1.3em;
    }
    }
    @media only screen and (max-width: 568px) {
    main {
    font-size: 5em;
    }

    .footer-list-top {
    width: 100%;
    }

    .footer-list-header {
    font-size: 3em;
    }

    .footer-list-anchor {
    font-size: 1.5em;
    }

    .footer-social-section {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    }

    .footer-social-section::after {
    top: 25%;
    }

    .footer-social-connect {
    margin-bottom: 10px;
    padding: 0 10px;
    }

    .footer-social-overlap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    }

    .footer-social-icons-wrapper {
    width: 100%;
    padding: 0;
    }

    .footer-social-overlap > a:not(:first-child) {
    margin-left: 20px;
    }

    .footer-bottom-section {
    padding: 0 5px 10px 5px;
    }

    .footer-bottom-wrapper {
    text-align: center;
    width: 100%;
    margin-top: 10px;
    }
    }
    @media only screen and (max-width: 480px) {
    .footer-social-overlap > a {
    margin: auto;
    }

    .footer-social-overlap > a:not(:first-child) {
    margin-left: 0;
    }

    .footer-bottom-rights {
    display: block;
    }
    }
    @media only screen and (max-width: 320px) {
    .footer-list-header {
    font-size: 2.2em;
    }

    .footer-list-anchor {
    font-size: 1.2em;
    }

    .footer-social-connect {
    font-size: 2.4em;
    }

    .footer-social-overlap > a {
    font-size: 2.24em;
    }

    .footer-bottom-wrapper {
    font-size: 1.3em;
    }
    }

    https://www.ads-software.com/plugins/beaver-builder-lite-version/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding Custom CSS to a single column module on page’ is closed to new replies.