Hello, I have a question for individual adjustment of the menu.
In the upper menu always the title of the main albums, sub-albums and the photo title will appear.
home >> summer >> august >> flowers in the sun
Where and how can I delete the photo titles (flowers in the sun) from this menu, only in this menu, not in the sidebar (or database)? And how can I change the font size of the other menu text? The aim is only the font size of the menu, regardless of the rest of the text in the Gallery, be changed. Is this, or to realize one of them? Maybe it would be enough for me if I knew where these parameters are available in the PHP files. I have search and not found it.
Posts: 27300
That is the breadcrumb.
I think this has been asked before so a search of breadcrumb will yield better results.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 112
Hi Dave, thanks.
I have found breadcrumbs in
themes/clean_canvas/views/page.html.php
and in
modules/gallery/libraries/Breadcrumb.php
and i have no idea for adjustment. Thats to much PHP for me.
It appears to be a loop, all outputs title and title parents at one time. It is well not to separate. Either all or none.
Is that correct, or is there still a possibility?
Posts: 27300
yes,
Not tested but try:
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 112
Thanks, that's a first approach. The last title is now gone. I had already tested, but had an error because I had not deleted the one endif.
Now the last >> has slipped slightly upwards. This should also be deleted.
Now I have found a solution:
themes/clean_canvas/css/clean/screen_colors.css
at:
insert:
OK as far. Now just find where the font size can be adjusted (autonomous for the breadcrumbs). I have not found it yet.
Posts: 27300
You should be able to just add a font-size to the the .g-breadcrumbs in the css. like:
.g-breadcrumbs { clear: both; font-size: 20px; padding: 0 20px; }
Adjust the 20 as required.
if you can't find the .g-breadcrumbs then just add it.
If that does not work then you will have to dig into the theme as I only have the default theme installed on my test site.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 112
edit: oh sorry dave, is see you post yet.
Ok, I have found a solution for the font-size. It's realy not the best.
insert in:
themes/clean_canvas/css/screen_fonts.css
The Font is Bold for another css rule.
insert in:
themes/clean_canvas/views/page.html.php
Posts: 112
OK, dave, you solution don't work autonom only for breadcrumbs.
you can find the css rules here:
themes/clean_canvas/css/screen_fonts.css
But, that is for all text in the Gallery.
Posts: 1857
@slart:
(1) Best if you don't make changes directly in any css file except screen.css
(2) The css section you pulled out applies to the breadcrumb AND to the sidebar as a whole
Now, try adding this to the bottom of your screen.css file (assuming there is one in that theme; if there isn't try adding this to the bottom of the file you were already looking at):
.g-breadcrumbs { font-size: 20px }
If it doesn't work, provide a link to your site.
Posts: 112
OK tempg, that's better, that's perfect. Something I've tried, just in the wrong place, as I realize now. I have the theme Clean canvas. It has no screen.css. I had to find the right css. The css rule must be in the:
themes/clean_canvas/css/screen_layout_fixed.css
(If "fixed with" is active in the theme.)
I have write on top of the css this:
Thanks so much!