- ๐บ๐ธUnited States smustgrave
This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request โ as a guide.
This will need a test case to show the issue.
Issue summary should be updated with proposed solution, seen several different attempts but what is going to be the path forward.
Screenshots should be added to the issue summary.
- ๐ฎ๐ณIndia Rinku Jacob 13 Kerala
H i @smustgrave ,Issue summary updated. Please review.
- Status changed to Needs review
over 1 year ago 7:15am 24 March 2023 - Status changed to Needs work
over 1 year ago 11:46am 24 March 2023 - ๐บ๐ธUnited States smustgrave
Seems better! Think just need to determine which of the current solutions to move forward with for the tests
- ๐ฎ๐ณIndia Rinku Jacob 13 Kerala
Hi @smustgrave, when we use the logo supplied by the theme the slogans accurately displayed.
But when we use a custom logo(especially larger size custom logo) slogan was show as non-aligned. Need to work on this.
- ๐น๐ญThailand jeyro
But shouldn't the slogan be just below the site name?
If there is a logo, or if there isn't a logo, the slogan should generally be below the site name (not the logo). Maybe I'm wrong, but I thought this was kind of standard procedure...
- ๐ฉ๐ฐDenmark ressa Copenhagen
+1 for adding Slogan in Olivero.
To help keep this issue moving, maybe someone can update "Remaining tasks" in Issue Summary and outline which solutions are under consideration?
- ๐ฎ๐ณIndia ravi kant Jaipur
Issue solving for me when applying patch#54 and enabling the slogan from the "Site branding" block.
- ๐บ๐ธUnited States gintass
@jeyro I agree, the slogan should be below the title and next to the logo, therefore I would change the code in this file /olivero/templates/block/block--system-branding-block.html.twig, so that 'site_slogan' is inside the 'site_name':
{% if site_name %} <div class="site-branding__text"> <div class="site-branding__name"> <a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home">{{ site_name }}</a> </div> {% if site_slogan %} <div class="site-branding__slogan">{{ site_slogan }}</div> {% endif %} </div> {% endif %} </div> {% endblock %}
- ๐น๐ญThailand jeyro
@gintass That worked for me, perfectly, much thanks!
For 10.1.1 updated patch #54 manually. Added contribution of @gintass, added a font-size: 1rem; and a font-style: italic; Works fine.
Can someone finalize this so that it gets into core?
- ๐ฌ๐งUnited Kingdom freelylw
problem still in the latest 10.1.2, please advise the patch #54 is for the olivero or for the core ?
- ๐ฎ๐ณIndia Hamid.ali
I have verified patch#54 on Drupal 10.1.x-dev version. The patch was applied successfully and looks and works fine. But there should be a cap on the length of characters for the slogan. Since I tried to add as much length as I could for the slogan and after saving and checking the same it is breaking the layout into more the one line and also doesn't look good from the UI perspective. I am adding both the small title and large title SS.
Just my thoughts on this - Site branding Block title which comes in a grey colour that is not completely visible. From a design perspective, it should be matched with the standard design which we are following for this theme.
- ๐ฆ๐บAustralia kattekrab
I just spun up a very vanilla instance of Drupal with the lovely new Olivero theme enabled as default!
Happy to find my rusty Drupal skillz got me all the way until this bug.I thought I was going mad about why I had enabled site slogan, but it just WOULD NOT display.
So I turned to a search engine and found this 3 year old bug.
I haven't through read the whole thread, or checked to see if the issue summary is up to date or not, but I can 100% confirm it was really frustrating to enable a feature and not be able to figure out why it doesn't work :)
Looks like there's working, tested patches here, so let's go with what we have here, and create a new issue for improvements like cap on length.
- ๐จ๐ฆCanada SKAUGHT
(: this is a feature of EVERY theme, certainly Olivero (the current core theme) should work as expected.
- Status changed to Needs review
2 months ago 5:45am 22 April 2024 - ๐ฎ๐ณIndia mukesh-kumar3 Dharmshala
Slogan not displayed in the site branding block issue solving for me when applying patch#54 and enabling the slogan from the "Site branding" block. in drupal 10.1.x and in 10.2.x.
- Status changed to Needs work
2 months ago 2:25pm 22 April 2024 - First commit to issue fork.
- Merge request !7792#3188136 - removed an extra wrapper as suggested. Moved site slogan inside the... โ (Open) created by YevKo
- ๐ซ๐ฎFinland YevKo Espoo
Hi,
https://git.drupalcode.org/project/drupal/-/merge_requests/7792
I have done a re-roll of the existing fork to 11.x first and then applied changes mentioned in this issue:
- Slogan has been moved inside the 'site-branding__text' container, placed below the site name with the small gutter between. This setup works well with any type of logo, or without the logo.
- Color of the slogan is the same as of the site name (white). The issue with the text color against grey or white backgrounds is reported separately https://www.drupal.org/project/drupal/issues/3443881 ๐ Text color in the header does not adapt to the header background color Active
Screenshots in different setups:
- Status changed to Needs review
about 2 months ago 11:15am 27 April 2024 - Status changed to RTBC
about 2 months ago 12:52pm 27 April 2024 - Status changed to Needs work
about 2 months ago 9:21am 28 April 2024 - ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
I think we should move the test to \Drupal\FunctionalTests\Theme\OliveroTest - also I think we should have a +1 on the CSS / design elements from an Olivero maintainer. Will ping in Slack.
- Status changed to Needs review
about 2 months ago 8:35am 29 April 2024 - ๐ท๐บRussia kostyashupenko Omsk
I'm gonna mark it as Needs review since i've inserted few modifications
- ๐บ๐ธUnited States smustgrave
smustgrave โ changed the visibility of the branch 3188136-the-site-slogan to hidden.
- ๐บ๐ธUnited States smustgrave
Sounds like we need sub-maintainer sign off. Not sure about "design review" as we don't have designers (that I know of).
- ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
@smustgrave - I pinged the Olivero maintainers in Slack - @kostyashupenko is a maintainer of Olivero :)
- Status changed to Needs work
about 2 months ago 12:12pm 30 April 2024 - ๐บ๐ธUnited States mherchel Gainesville, FL, US
Getting close! Visually, this looks great, with the minor exception that there should be a gap between the logo and text.
The main issue is that there are two
<a>
tags, which would be a bit confusing for people using assistive technology. All of the text and image should be wrapped within one<a>
tag, and elements should be added in that as needed.The use of CSS grid on branding text is basic (although it works), when I mentioned this in #44, I was thinking to align the items within the
<a>
tag. I probably should have been a bit more specific. - ๐บ๐ธUnited States mradcliffe USA
I am removing the Novice tag from this issue because it is not clear for a new contributor how to move the issue forward.
Iโm using this documentation as a source: https://www.drupal.org/community/contributor-guide/task/triage-novice-is... โ
- ๐ฎ๐ณIndia ehsann_95
ahsannazir โ made their first commit to this issueโs fork.
- Status changed to Needs review
about 2 months ago 7:11am 8 May 2024 - Status changed to Needs work
about 2 months ago 2:03pm 9 May 2024 - Status changed to Needs review
about 1 month ago 4:15am 14 May 2024 - Status changed to RTBC
about 1 month ago 8:01am 14 May 2024 - ๐ฎ๐ณIndia arunkumark Coimbatore
Reviewed the MR !7792 is resolving the issue. Attached screenshot after applying the MR.
Before applying the patch:
After applying the patch:
Different logo and Long slogan
Ready for RTBC.
- Status changed to Needs review
about 1 month ago 10:39am 14 May 2024 - ๐ฎ๐ณIndia arunkumark Coimbatore
Found an issue during the test. If the Logo is unchecked(Show only Sitename and Slogan), none of the details are showing.
- ๐ฎ๐ณIndia divya.sejekan
Verified for Drupal - 10.2 . The slogan is visible now.
Verified with Drupal 11.x-dev .The Slogan is visible now
Verified with disabled logo . The slogan is visibleSteps to reproduce
1. Install Drupal.
2. Go to "Configuration"->Basic Site Setting-> Add Site Slogan->Save.
3. Go to Homepage and Click on the Site branding "Configure Block option and enable site slogan checkbox -> Save Block
4. Go to Homepage and observe the slogan not displayed in the site branding block.But the patch has white space warning
- ๐ฎ๐ณIndia Mithun S Bangalore
I have validated before MR that the slogan is not displaying on the UI for olivero theme.
Validated by switching to the branch and verified the slogan is visible/hidden as per the users choice and based on the block configuration. Attaching the screenshots for reference.RTBC +1.
- Status changed to RTBC
about 1 month ago 10:23am 17 May 2024 - Status changed to Needs work
30 days ago 4:12am 27 May 2024 - ๐ณ๐ฟNew Zealand quietone New Zealand
@Mithun S, Thanks for your interest in this issue. Testing of the latest MR and screenshots were already supplied in the comment before your work. The consequences of that are explained in this issue in comment #25. In the Drupal community we expect contributors to read all comments before making a contribution.
The testing in #106 does not account for the error case discovered in #105. Nor has there been a code review since that change. And surely the tests needs to be updated to include that situation. Back to needs work.