• Hi there

    I am giving my first steps trying to create a website for myself. This is the website: http://danivfx.byethost12.com/

    However, I am trying to make the pages with a transparent background in order to show the default image (will later change ofc).

    If you look at the page Reel and Contact you will see it has a white background. What I am looking for is that the default image is showed behind just like the Homepage. Is this possible?

    Regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    The thing is, you’ve applied the background to the header. So you’re never going to achieve what you want.

    .titleclass {
        background-repeat: no-repeat;
        background-position: left top;
        background-size: cover;
        background-image: url(../../img/demo_header_01.jpg);
    }
    Thread Starter gatoperas

    (@gatoperas)

    thanks for the quick reply Andrew!

    I did select on the header background style transparency on. However after inserting the code I still have that white background behind the video.

    Another thing i wanted to ask is if it is possible to replace the Icone for Dribbble on the social media links. I couldnt find the icon image anywhere in the theme files maybe you could point it to me?

    Cheers!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you set that image as the page’s main background instead?

    Thread Starter gatoperas

    (@gatoperas)

    yay! It worked! Thanks alot! Im new to this so im sorry if this was noobish!

    Do you know how i could change the icon?

    Cheers!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Your theme uses a font for the icons, the font is called ‘Font Awesome’. The icons are controlled with CSS, using the ‘content’ property.

    To override the Dribble icon…

    If you’re not using a Child Theme, and if the theme doesn’t have a designated section of the dashboard for CSS modifications then do the following:

    1. Install this Custom CSS Manager plugin http://ww.wp.xz.cn/plugins/custom-css-manager-plugin
    2. use its “CSS Code” section of the dashboard to hold your CSS modifications:
    3. (put this code in)

      .icon-dribbble:before {
          content: "[character-reference]";
      }
    4. Save

    Alternatively use your Child Theme style.css file to hold your CSS modifications

    If you look in the ‘Font Awesome’ cheatsheet in the link below, you will see the character references of the icons. For example, Dribble has the character reference of (please ignore the spaces, I’ve added that to get past this forum’s parser):

    [ & # x f 1 7 d ; ]

    You need to ignore these characters:

    [&#x;]

    The only bit you want is this bit:

    f17d

    In the CSS ‘content’ property you want to put those characters inside the speech marks, but you need to prepend a backslash to those characters:

    \f17d

    To result in the code:

    .icon-dribbble:before {
        content: "\f17d";
    }

    You can change that.

    https://fortawesome.github.io/Font-Awesome/cheatsheet/

    Thread Starter gatoperas

    (@gatoperas)

    Hi again Andrew

    I tried to do exactly what you said however when i insert the code with the different icon it simply shows the code number instead of the icon.

    .icon-dribbble:before {
    content: “\f008”;
    }

    shows f008 on the website instead of the film icon

    Thanks again!

    Thread Starter gatoperas

    (@gatoperas)

    nevermind problem solved! was something to do with not reading the code properly. i just replaced the code on the css file itself and it worked!

    thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Transparent Background’ is closed to new replies.