Problem:
Belgrade currently lacks dedicated theming for blog/article listing and article pages.
The work includes:
• New card type: Create a new card style for blog/article content.
• Listing layout: Use the existing frontpage view to display blog cards horizontally; add a class option so the layout can be switched between vertical and horizontal.
• Single article page: Apply templates and styling for the article page content.
• CKEditor styling: Ensure elements like blockquotes are styled consistently with the design.
• Responsiveness & accessibility: Ensure layouts adapt well across devices and meet Drupal accessibility guidelines.
Attached are design references for the blog listing and article page theming.
Notes:
Some elements are not fully defined in the provided design. We will make reasonable assumptions following the theme’s existing styles and patterns to maintain a consistent look and feel.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | After(related to 3522433).png | 309.32 KB | anirudhsingh19 |
| #8 | Before(related to 3522433).png | 197.2 KB | anirudhsingh19 |
| #7 | After(related to 3494468).png | 35.05 KB | anirudhsingh19 |
| #7 | Before(related to 3494468).png | 28.94 KB | anirudhsingh19 |
| belgrade_1600_blog post.jpg | 934.83 KB | majmunbog |
Issue fork belgrade-3542564
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
majmunbog commentedThis is ready for review.
page.basic, where basic body elements and blockquotes are styled. This library can be used to update or override styles for all body or content-driven pages.card--basic, themed and styled according to the designs, and applied it to article teasers.Comment #4
majmunbog commentedComment #5
anirudhsingh19 commentedWorking on this to shift changes from #3522433 and #3494468.
Comment #6
anirudhsingh19 commentedI think I misunderstood the message. Well, the fixes that were introduced in the issues #3522433 and #3494468 are already included in this and looks good to me.
Comment #7
anirudhsingh19 commentedThe whitespace beneath tags is clearly visible now. These screenshots are related to #3494468
Comment #8
anirudhsingh19 commentedThe whitespace between articles on the home page is clearly visible now. These screenshots are related to #3522433.
Comment #9
niki v commentedWorking for me, there is now white space at the bottom of content pages
Comment #11
majmunbog commentedComment #12
majmunbog commentedThe code has been merged. This issue is now resolved. Thanks everyone for the help and testing!