You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The variable $content_width is set at the top of functions.php, but is set fixed later on in function sempress_content_width().
As as result, there is no (easy) way to set a different width in a child theme, by simply adding
$content_width = 800; /* pixels */
to the functions.php of the child theme.
My suggestion would be to modify the sempress_content_width() function to respect (so related to / computed based on) the value that is set at the top of the functions file.
The text was updated successfully, but these errors were encountered:
The variable
$content_width
is set at the top offunctions.php
, but is set fixed later on infunction sempress_content_width()
.As as result, there is no (easy) way to set a different width in a child theme, by simply adding
to the
functions.php
of the child theme.My suggestion would be to modify the
sempress_content_width()
function to respect (so related to / computed based on) the value that is set at the top of the functions file.The text was updated successfully, but these errors were encountered: