Skip to content

Fixed $content_width #67

@metbril

Description

@metbril

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions