Need CSS help for music and movie section

We could use CSS help in our Music and Movie section!
We used colorlib but the guys from colorlib give us the opportunity !! that's where the theme is when using so hope you can help us !!
in return, you listen to free music "were fully licensed" and hoped you would help us realize this design !!

We really want our Music section to which it looks like now !!
https://i.ibb.co/2PdQ108/Screenshot-255.png

We want it to look like singles and eps like here on the Apple site! without seeing it all !! we want him to keep scrolling down the page
https://music.apple.com/us/artist/becky-g/550411604

here is the screenshot of this page !! https://i.ibb.co/kJvGXkf/Screenshot-256.png

Slides go automatically but with CSS and not JavaScript

I have this slide.

Now, I have to find a way for the slides to go through automatically, albeit with CSS and not JavaScript.

$(".mySlides").click(function(){

	let url = $(this).data('value');

	 window.open(url, '_blank');

});

var slideIndex = 1;
showDivs(slideIndex);

function plusDivs(n) {
  showDivs(slideIndex += n);
}

function currentDiv(n) {
  showDivs(slideIndex = n);
}

function showDivs(n) {
  var i;
  var x = document.getElementsByClassName("mySlides");
  var dots = document.getElementsByClassName("demo");
  if (n > x.length) {slideIndex = 1}
  if (n < 1) {slideIndex = x.length}
  for (i = 0; i < x.length; i++) {
    x(i).style.display = "none";  
  }
  for (i = 0; i < dots.length; i++) {
    dots(i).className = dots(i).className.replace(" w3-white", "");
  }
  x(slideIndex-1).style.display = "block";  
  dots(slideIndex-1).className += " w3-white";
}
.mySlides {display:none}
.w3-left, .w3-right, .w3-badge {cursor:pointer}
.w3-badge {height:13px;width:13px;padding:0}
.w3-content {
	width: 100% !important;
	max-width: 100% !important;
}
.w3-content img {
	width: 100% !important;
}




Thank you to everyone who can help.

css – How to "misalign" divs with Flexbox?

Good night all. It's been a long time since I made fun of the flexbox because I can not "misalign" my divs and leave them without vertical space when one div is bigger than the other. Does anyone know how to solve this using flexbox? For example, I want to leave the number 4 div higher, just with the margin that I gave them, and all that the spacing of the flexible boxes does not align on 3 horizontally.

NOTE: margin-top is not an option because it will not only be the 4 that will have to go up, it will be a news grid, the height will increase depending on the amount of content that's going on. it contains, so there is no way to give a height. exact for the divs.

enter the description of the image here

html, body {margin:0;padding:0;box-sizing:border-box;background:#f2f2f2;}

div#conteudo {
    width:100%;
    min-height:500px;
    background:rgba(0,0,0, .6);
    margin:0 auto;
    margin-top:100px;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    flex-flow:row wrap;
}
div.cont {
    display:flex;
    align-items:flex-start;
    flex-flow:row wrap;
}
div#c1 {
    width:520px;
    min-height:400px;
    background:yellowgreen;
    margin-right:10px;
}
div.cnews {
    color:#fff;
    background:tomato;
    width:250px;
    min-height:250px;
    margin:5px;
    display:flex;
    align-items: center;
    justify-content:center;
    font-size:72px;
}
div.cnews:nth-child(1) {
    height:300px;
}
div.cnews:nth-last-child(1) {
    height:300px;
}
div#c2 {
    width:250px;
    height:800px;
    background:plum;
}



    
    
    
    Teste
    


    
1
2
3
4

css – Ng-Bootstrap active pills to add without displaying the drop-down menu

I used my Angular-6 project for the ng-bootstrap and I used the ngbootstrap pills, I tried to add active pills to the drop-down icon with the Button removal option, but it does not work, everyone knows how to do it correctly.

here with stack blitz code

it's my .css code

.nav-pills .nav-link.active, .nav-pills.show> .nav-link {
    color: #fff;
    background-color: #262262;
}

a:after {
  content: url('https://image.flaticon.com/icons/svg/60/60995.svg');
  height: 0;
  width: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
  position: absolute;
  bottom: -1px;
  left: 50%;
  margin: 0 0 0 -3px;
  z-index: 100;
}

I tried to do like this picture

I tried to do like this picture

Thank you

css – Best practices for WordPress Light / Dark Theme? Is there a way that really works?

We currently have a clear / dark theme enabled on our WordPress site by using cookies and a .dark class in CSS. This works, but makes use of WP Total Cache almost useless, as no post / page using the cookie can be cached. I've tried using localstorage instead, but I have not managed to override an annoying "flash" when changing pages: each new navigation loads the default css by default and then applies the dark css, which gives a glimpse of the theme of light before changing, which is very boring. I managed to minimize the flash, but it is still there.
I can not find any plugin that solves the issue of the light / dark theme and remains stuck with cookies and accepts that caching is simply not possible
Does any one have a clear / dark theme switching example that works with caching and actually works?

javascript – How can I make the last element of this CSS DYNAMIC Columns grid occupy all columns?

Well, I have this container box class which is a CSS Grid container. As you can see, it's dynamic because it uses repeat(auto-fit, minmax(340px, 1fr))

.box-container {
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: 100px;
}

.box:nth-child(odd) {
  background-color: lightblue;
  border: 1px solid #000;
}

.box:nth-child(even) {
  background-color: aquamarine;
  border: 1px solid #000;
}



  
  
  
  Document


  

By resizing the width of the window, we can arrive at this situation:
enter the description of the image here

I want this last element to occupy two columns instead of one, but I can not define it dynamically.

So here's what I'm waiting for once I get to resize the width of the display window:

enter the description of the image here

But I only know how to do this statically, covering the last child. And that's not what I want because I only want it to extend on both columns at this point of the width of the display window, and the fact of not doing it dynamically would ALWAYS do it between the two columns.

Add a CSS class to a WordPress menu item that depends on the page visited by the user

I'm trying to make sure that menu items display an underline under the associated navigation item when the user is on a specific page (attached image).

In the static version of the site I was doing, I had a php variable at the top of every page, such as:

Then, in the header menu item, I added the following by adding a class "active_page" when someone is on the page concerned, which I could then style accordingly with CSS:

  • ">HOME
  • Now I have moved it to a custom WordPress theme, it does not work. I place the variable above the get_header() function on each page:

    
    
    

    Because this site has two big submenus in the nav, using the is_page() function to detect the URL of the page does not go to work. For example, I have 11 submenu items under one of the main menu items.

    Any help would be great for it to work.

    enter the description of the image here

    CSS partially or not at all

    I have an extremely strange problem that I am facing for the first time.

    From time to time (it's really absolutely random), the CSS of a Magento 1.9.3.10 store is not fully loaded. This can happen on a product page or catalog page, or even a home page.

    Basically, every 100 ~ requests (updates), the CSS does not load completely. The strange part is that in the console, I see that the answer is 200, the CSS is loaded but it is 6 KB when the complete file is 80 KB ~. When I open the CSS file, I find that it is interrupted, but that it is in a strange place and that there are no special signs and what whether it be. If I click Refresh, the loading is correct.

    The same behavior applies to the entire website and the team is totally out of ideas.

    There are no errors registered on the server or on the console. Everything goes back to 200, everything is loaded and yet – the CSS file is interrupted. Moreover, each time the file is interrupted at a different place, this happens even randomly.

    The team considers that there is a server problem, but there is no error or anything on the server (nor a serious charge). Our current configuration is in AWS (since one year) and we have never encountered such problems.

    All of this happens after we move to a new bootstrap theme (because the previous one was not) and we installed a new slider (revolution).

    In addition, this only happens when the CSS is merged if we do not combine the CSS files, everything is loaded perfectly.

    Can someone help me or did he see such a thing?

    Differentiate CSS for a single zone

    I am new to SP but I learn quickly. Not as fast as needed, so help me please. How to define a CSS statement (do not show any for the SuiteBar) only for the Internet zone (default)? Where do I work in IIS? Thank you

    How to create an HTML css email in Outlook 2016

    So my company uses Outlook Exchange and I now have to design an HTML email so that it looks like an official email with a header with the company name / logo and a foot of page with some information and the central part of the text.But I have no idea how to do this (no idea at all) and I also have a lot of questions about it. Someone guides me please.

    My idea is to create a kind of model so that the exchange administrator can then use the template and send emails. Is it possible? can he edit the body text in bold and bold type or I will have to edit in CSS html each time for him. I do not want to use an external app again and again? Is there a free software? Does it export as often? Please help.