Skip to content

Commit

Permalink
content slider
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Nachbauer committed Aug 8, 2024
1 parent da9e177 commit 13918c4
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 4 deletions.
22 changes: 22 additions & 0 deletions assets/sass/components/content-slider.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@include media($down: sm) {
.hsc--content-slider {
max-width: none;
display: flex;
white-space: nowrap;
flex-direction: row;
column-gap: 15px;
transform: translateX(15px);
overflow: scroll;
padding: 0 15px;
}

.hsc--content-slider-item {
width: 0;
min-width: 300px;
max-width: 567px;

.dsm_card_description {
white-space: pre-wrap;
}
}
}
1 change: 1 addition & 0 deletions assets/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
@import './components/hsc-sponsor-grid-animated';
@import './components/membercard';
@import './components/news-slider';
@import './components/content-slider';

@import './divi-overwrites/columns';
@import './divi-overwrites/overwrites';
Expand Down
2 changes: 1 addition & 1 deletion assets/sass/wordpress.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Theme Name: Naba HSC Divi Child
* Theme URI: http://www.elegantthemes.com/gallery/divi/
* Version: 2.9.28
* Version: 2.9.29
* Description: Child Theme for Divi
* Author: Nachbauer Philip
* Author URI: http://www.naba.at
Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

define('NABA_WP_THEME_NAME', 'hsc-wp-child-theme');
define('NABA_WP_THEME_VERSION', '2.9.28');
define('NABA_WP_THEME_VERSION', '2.9.29');
define('NABA_WP_THEME_PATH', get_stylesheet_directory_uri());
define('NABA_WP_THEME_SRC', get_stylesheet_directory() . '/src');
defined('ABSPATH') or die('Direct script access disallowed.');
Expand Down
4 changes: 2 additions & 2 deletions style.css

Large diffs are not rendered by default.

0 comments on commit 13918c4

Please sign in to comment.