connect_error) { die("Connection failed: " . $conn->connect_error); } // all done $sql = "SELECT color_store_color1, color_store_color2, color_store_color3, color_store_color4, store_image, store_image_padding, store_image_height FROM oc_color_to_store where store_domain='$subdomain'"; $result = $conn->query($sql); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { // subshop specific olors $color1=$row["color_store_color1"]; $color2=$row["color_store_color2"]; $color3=$row["color_store_color3"]; $color4=$row["color_store_color4"]; $store_image=$row["store_image"]; $store_image_padding=$row["store_image_padding"]; $store_image_height=$row["store_image_height"]; } } else { // set default colors $color1="#757575"; $color2="#cccccc"; $color3="#ffffff"; $color4="$999999"; $store_image_padding = "10"; $store_image_height="150"; $no_site = '1'; } $conn->close(); // CSS style for all sites //********************************* */ ?> /* Custom dynamic CSS for main and subshops (c) Cloudfaction 2022 / Maarten Blokdijk */ /* ********************************************************************************* */ /* CSS for all shops */ /* ************************************************************************ */ .rating { display:none; } #footer .ishistoreinfoblock .ishistoreinfo-inner { display:none !important; } .product-tax { display:none !important; } #footer { background-size: cover; } #update_box { display:none !important; } .header-top .img-responsive{ height: 100px; } .header-top { padding: 5px 0 !important; } .nav-full-width.fixed-header { z-index: 99 !Important } .tab-description ul li, p {color: #000 !important;} .product-price {color: #000 !important;} .footer-aftertext {display:none;} /* CSS for subshops */ /* ************************************************************************ */ .product-price, { color: !important; } .product-right .list-unstyled.price .product-price h2{ color: !important; } a:hover { color: } #top-menu > li > a:hover { color: !Important; } .page-title { background-color: !Important; color:white !important } .product-title, .product-thumb .caption h4 a { color: !important; } .breadcrumb { margin: px !Important; padding: 10px; background-color: #ffffff; min-width: 10px; display: inline-block; position: relative; left: 50%; transform: translateX(-50%); } .breadcrumb a:hover { color: !important; } .btn-cart button:hover { background-color: !important; } .header-top { background-color: !important; } .breadcrumb-container { height: px; padding: px; border-bottom: 3px solid ; box-shadow: rgba(0, 0, 0, 0.35) 0px 25px 20px -20px; }