benjaminkott / benjaminkott/bootstrap_package

Adding an image to the heading

Open
#701 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
PHP
Stars
355
Forks
212
Avg merge
1h 4m
Merged PRs (30d)
31

Description

Hi,

I want to add an image to the heading CE.
There should be a different image for each heading-type.

So in my opinion i need to change the class "element-header" to a unique one per type (like heading-type 1 = element-header-1,heading-type 2 = element-header-2 and so on)
After that i could add the individual image as an background-image with CSS.

Is there a way to change the element-header?
Or is there a better solution than mine?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the markup that renders the element-header class and how heading types are distinguished in the theme. Review the existing CSS around the heading styles and determine how each type can receive its own image. Done means each heading type displays its intended image without affecting other headings.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, css, php
Domain
design, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.