Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed $content_width #67

Open
metbril opened this issue Aug 14, 2018 · 0 comments
Open

Fixed $content_width #67

metbril opened this issue Aug 14, 2018 · 0 comments

Comments

@metbril
Copy link

metbril commented Aug 14, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant