modified the height in main collections banner image, added more time when retreiving the wp menu

This commit is contained in:
jorge 2022-04-28 18:15:44 +02:00
parent 9d042ea0ee
commit ff4ce4c91b
3 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -550,10 +550,11 @@ main {
.slides { .slides {
background-color: $secondary-color; background-color: $secondary-color;
.slide { .slide {
height: 10rem;
flex-direction: column; flex-direction: column;
align-content: center; align-content: center;
align-self: center; align-self: center;
margin: $global-margin auto; margin: 0 auto;
&:first-child { &:first-child {
color: unset; color: unset;
background-color: unset; background-color: unset;

View File

@ -12,7 +12,7 @@ $items[0] = new ArrayObject(); // top level menu items go here
if ($wordpress_endpoint) { if ($wordpress_endpoint) {
try { try {
$client = new Client($wordpress_endpoint); $client = new Client($wordpress_endpoint);
$client->setOptions(array("timeout"=>1)); $client->setOptions(array("timeout"=>2));
$response = $client->send(); $response = $client->send();
} }
catch (exception $e) { catch (exception $e) {