Need help with 4 lanes of CSS

roki4ka

Senior Member
Joined
Jun 20, 2016
Messages
954
Reaction score
743
Guys, can anyone help me with a short CSS code?

Need to center a video player and then put the custom CSS name in a muffin builder element.

PIC_1.jpg



pic_2.jpg
 
I'm not familiar with wordpress/mufinbuilder plugin, but I think the second screen your trying to add a class for the html video element? If that's the case then put w.e you want it to be.

.whateveryouchoose {
margin: 0 auto;
}
 
I'm not familiar with wordpress/mufinbuilder plugin, but I think the second screen your trying to add a class for the html video element? If that's the case then put w.e you want it to be.

.whateveryouchoose {
margin: 0 auto;
}

I need to add something in the last tab.

If I use

#video {
margin: 0 auto;
}

should I put "video" there?

Want to see the element on the site?
 
Well it says CSS class.
"#" is for ID and "." is for Classes. You can use "video" if you want. So it'll be:

.video {
position: absolute;
margin: auto;
top: 50%;
left: 50%;
}
/* The above code centers it directly in the middle of the webpage */

And in the last tab:

video



 
Well it says CSS class.
"#" is for ID and "." is for Classes. You can use "video" if you want. So it'll be:

.video {
position: absolute;
margin: auto;
top: 50%;
left: 50%;
}
/* The above code centers it directly in the middle of the webpage */

And in the last tab:

video



Didn't work
 
I'll need more code to figure out where it went wrong. Is the video element in a container? Can you show me the current html/css of the page your formatting?
 
It is already done guys
 
Back
Top