CSS Background Color – Mobile Breakpoint

I'm trying to help for a page – https://divorce-cheap.com/. If I scale my desktop browser – smaller than I would try to display it as a tablet / phone. The header is highlighted in red.

How can I make sure that the full desktop version of the header has the same background as the mobile page?

I do not know this template at all and can not figure out why it changes the background colors

css – href base HTML is not working

use On my administrative side, css can work correctly in this / cpanel folder.

It turns out that when entering a text the link is of the external type https://www.youtube.com/watch?v=t_FHHrfc3go Do not unconfigure CSS in the successful form response. An internal link like this: https:/blog/artigo.html Without the URL domain, CSS will also display correctly in the form response.

Already: https://www.site.com/blog/artigo2.html the full path with my domain in URL all CSS and is configured incorrectly. There seems to be a conflict with that Base.

Notice the difference when I use "base" To disable a text with full link of my own domain, the css is unconfigured.

Ahhh use ckeditor as publisher.

Strange, is not it? Does anyone understand why that is?

Need to generate an image file from HTML / CSS / JS on the server side!

I am not an expert in web development. I've created a website with a developer and we're looking for a solution to a problem. I have to generate an image file from html / css / js on the server side. I know there are solutions like HTML5 Canvas that can do this on the client side, but I need a server side solution.

One possible solution I've found is to use headless chrome browser to set the HTML content and generate an image, all on the server. I am not sure if there is a better way.

Any advice would be very grateful!

Repeated CSS class content. Structure CSS code

I'm a backend developer who works on a website and creates the CSS part. I like to write as little code as possible and use it across the site, many pages.

I want to be able to reuse some CSS code. For example, if I have this code:

.box1{
    background: blue;
    height: 200px;
    align-items: center;
}

and I have 5 other fields or more that I need to use the code: "align-items: center;" because it makes sense to have them that way

.box1, .box2, .box3, .box4, .box5{
    align-items: center;    
}

and

.box1{
    background: blue;
    height: 200px;
}

or declare a reusable class:

.box-align{
    align-items: center;    
}

The problem I have is that I have to reuse so many codes in different parts of the webpage, and I want to write as little code as possible, which can have the advantage of reducing the size of the file and updating CSS easily and fast.

This also applies to colors:

.box1{
    color: red;
}

If I choose to declare a single class and reuse the class everywhere, my HTML may contain the following code:

but if I decide to make it so clean:

then I have to do:

.box1, .box2, .box3, .box4, .....{
    align-items: center;
    color: red;
    text-decoration: underline;
    .......
}

The main problem is that these fields have different parents on different pages.
Does anyone have a clean code architecture for this?
Just as you can declare a function, variable or constant in OOP and reuse it throughout the project.

PS: I see so many sites that write CSS code and reuse it about 50 times, such as "text-align: center", and use or declare it in about 50 classes if it could be better optimized.

Customization – how to add custom HTML and CSS to WordPress

For example, if I want to add this code from this page: https://codepen.io/tamak/pen/ApLcq

html
tutorial

Animated

roll out

bounce

lightning

pulse

rubber band

swing

shake

tada

flutter

bounceIn

bounceInDown

bounceInLeft

bounceInRight

bounceInUp

bounceOut

bounceOutDown

bounceOutLeft

bounceOutRight

bounceOutUp

fade in

fadeInDown

fadeInDownBig

fadeInLeft

fadeInLeftBig

fadeInRight

fadeInRightBig

fadeInUp

fadeInUpBig

hide

fadeOutDown

fadeOutDownBig

fadeOutLeft

fadeOutLeftBig

fadeOutRight

fadeOutRightBig

fadeOutUp

fadeOutUpBig

flipInX

click

roll out

bounce

lightning

pulse

rubber band

swing

shake

tada

flutter

bounceIn

bounceInDown

bounceInLeft

bounceInRight

bounceInUp

bounceOut

bounceOutDown

bounceOutLeft

bounceOutRight

bounceOutUp

fade in

fadeInDown

fadeInDownBig

fadeInLeft

fadeInLeftBig

fadeInRight

fadeInRightBig

fadeInUp

fadeInUpBig

hide

fadeOutDown

fadeOutDownBig

fadeOutLeft

fadeOutLeftBig

fadeOutRight

fadeOutRightBig

fadeOutUp

fadeOutUpBig

flipInX

activate

CSS
div {div
Width: 120px;
Height: 100px;
Screen lock;
Background: green;
Text orientation: center;
Line height: 100px;
Edge: 10px;
Swimmer: left;
Color white;
Edge radius: 10px;
}

animated {
Animation duration: 3s;
Animation fill mode: both;
Animation iteration number: infinite;
}

js
$ (document) .ready (function () {

animationClick (& ​​# 39 ;, rollOut1 & # 39 ;, rollOut & # 39;);
animationClick (& ​​# 39; bounce1 & # 39 ;, bounce & # 39;);
animationClick (& ​​# 39; flash1 & # 39 ;, & # 39; flash & # 39;);
animationClick (# pulse1 #, # pulse #);
animationClick (& ​​# 39; rubberBand1 & # 39 ;, & # 39; rubberBand & # 39;);
animationClick (& ​​# 39; shake1 & # 39 ;, & # 39; shake & # 39;);
animationClick (& ​​# 39; tada1 & # 39 ;, & # 39; tada & # 39;);
animationClick (& ​​# 39; swing1 & # 39 ;, & # 39; swing & # 39;);
animationClick (& ​​# 39; wobble1 & # 39 ;, wobble & # 39;);
animationClick (& ​​# 39; bounceIn1 & # 39 ;, bounceIn & # 39;);
animationClick (& ​​bd; bounceInDown1 & # 39 ;, bounceInDown & # 39;);
animationClick (& ​​bd; bounceInLeft1 & # 39 ;, bounceInLeft & # 39;);
animationClick (& ​​# 39; bounceInRight1 & # 39 ;, bounceInRight & # 39;);
animationClick (& ​​bgr; bounceInUp1 & # 39; bounceInUp & # 39;);
animationClick (& ​​# 39; bounceOut1 & # 39 ;, bounceOut & # 39;);
animationClick (& ​​# 39; bounceOutDown1 & # 39 ;, & bEn; bounceOutDown & # 39;);
animationClick (& ​​# 39; bounceOutLeft1 & # 39 ;, bounceOutLeft & # 39;);
animationClick (& ​​# 39; bounceOutRight1 & # 39 ;, bounceOutRight & # 39;);
animationClick (& ​​bd; bounceOutUp1 & # 39 ;, bounceOutUp & # 39;);
animationClick (& ​​# 39; fadeIn1 & # 39 ;, & # 39; fadeIn & # 39;);
animationClick (& ​​# 39; fadeInDown1 & # 39 ;, & # 39; fadeInDown & # 39;);
animationClick (& ​​# 39; fadeInDownBig1 & # 39 ;, & # 39; fadeInDownBig & # 39;);
animationClick (& ​​# 39; fadeInLeft1 & # 39 ;, & # 39; fadeInLeft & # 39;);
animationClick (& ​​# 39; fadeInLeftBig1 & # 39 ;, & fdrawlLeftBig & # 39;);
animationClick (& ​​# 39; fadeInRight1 & # 39 ;, & fdrawInRight & # 39;);
animationClick (& ​​# 39; fadeInRightBig1 & # 39 ;, & fdrawInRightBig & # 39;);
animationClick (& ​​# 39; fadeInUp1 & # 39 ;, & fd; fadeInUp & # 39;);
animationClick (& ​​# 39; fadeInUpBig1 & # 39 ;, & fishnupUpBig & # 39;);
animationClick (& ​​# 39; fadeOut1 & # 39 ;, & fd; fadeOut & # 39;);

animationClick (& ​​# 39; fadeOutDown1 & # 39 ;, & # 39; fadeOutDown & # 39;);
animationClick (# fadeOutDownBig1), # fadeOutDownBig (#);
animationClick (& ​​# 39; fadeOutLeft1 & # 39 ;, & # 39; fadeOutLeft & # 39;);
animationClick (& ​​# 39; fadeOutLeftBig1 & # 39 ;, fadeOutLeftBig & # 39;);
animationClick (& ​​# 39; fadeOutRight1 & # 39 ;, & fd; 39; fadeOutRight & # 39;);
animationClick (# fadeOutRightBig1, # fadeOutRightBig #);
animationClick (# fadeOutUp1 #, # fadeOutUp #);
animationClick (& ​​# 39; fadeOutUpBig1 & # 39 ;, fadeOutUpBig & # 39;);
animationClick (& ​​# 39; flipInX1 & # 39 ;, flipInX & # 39;);

Function animationHover (element, animation) {
element = $ (element);
element.hover (
function () {
element.addClass (& animated & animation;);
},
Function(){
// Wait for the animation to finish before removing classes
window.setTimeout (function () {
element.removeClass (& animated & animation;);
}, 2000);
}
);
};

Function animationClick (element, animation) {
element = $ (element);
element.click (
function () {
element.addClass (& animated & animation;);
// Wait for the animation to finish before removing classes
window.setTimeout (function () {
element.removeClass (& animated & animation;);
}, 2000);
}
);
};

});

who and how to add
I've used codenippets and custo html css js plugin to do this, but I do not know how to call in WordPress
I need several times to call this animation

css – What boxes are flex items? Can you look at some kind of box like block inline and inline block?

The Elements inline You can not have one width and height but defines in a flex-container if I define a height.padding and margin to an object inline These are when applied.

You can consider one flex-item as a kind of box in which the padding.margin.width.height and border of the elements are respected?

When I say, if they can be considered as a kind of box, I mean that, if flex-item It could be considered as a display value defined only by the container and not autonomously

.flex-container{
  height: 200px;
  background: pink;
  display: flex;
}
.flex-item{
  background-color: blue;
  padding: 50px;
  color: white;
}

.flex-item:nth-child(2){
  background-color: orange;
  width: 500px;
  padding: 100px;
}
1 2

css – Bring the Hero element to full width

I'm trying to learn a few new designs.

Consider this sample website:

Home

* please do not do that Not My design, I show it because that's the effect I'm aiming for.

The image of the boy actually sits in the hero element and somehow the designers have managed to design the element in full width (on all devices). On my side:

https://pb-gutenburg-tester.cloudaccess.host/

Although I coded it as:

.hero {
  height: 1334px;
    Width: 1110px;
    background-image: url("wp-content/uploads/2019/09/hpimage-2.jpg");
  color: transparent;
  background: #000000;
  padding: 0px;
    background-size: contain;
}

The container does not reach the pages of the pages (I marked the background in yellow to highlight it). Does anyone know how I can achieve the effect that I see on parkviewministries.org on my website?

Thank you very much,

Paul

CSS – Remove WordPress / Gutenberg button styles for ACF blocks

Is there a way to remove the default styling of the Gutenberg editor?

I'm creating a custom design with ACF blocks. A portion of one of the blocks has a button that appears in the template file.


Everything on the frontend looks good and my styles for ".button" are used correctly.

The problem I have is that when editing these blocks in the editor, a class called "wp-core-ui" is added to the body tag, overwriting all my .button styles.

If I remove this class from Chrome Dev Tools, everything will work as I see it, but this does not seem to be a clean solution, as it could affect parts of the site I have not noticed.

css – adjust size (width) in input and list

I try to make one and a list are the same size within a page.

For control I have both values ​​at 100%, but when I create the result list, this is larger.

He I have it in one

When I make the list, it is left out and I understand that for this reason I do not get the right size.

These are the values ​​that I have in each of the elements:

.form-control {
  width: 100%;

.dropdown-menu {
  min-width: 100%;

Is there a way to control the size in this case?
I leave that so you can see the content CSS and a picture of what happens.

Enter image description here

https://139.162.206.138/bootstrap/autocomplete_v2/

Thanks!