Forum Replies Created
-
AuthorPosts
-
Victoria…sorry I’m not clearer.
What I want to change is NOT the logo used by the theme itself.
On login page, I want to replace the W – WordPress logo at the top with the logo the theme is using.
If in theme options, I’ve put in a Lizard, I’d like to be able to programmatically grab that lizard picture.
I KNOW how to change the W WordPress logo to _A_ picture. But currently I have to manually SET the picture that is used by the theme already.
I hope there is a variable WITH that image stored.
According to the Github reference, the avf_logo is how to CREATE the Enfold logo, I guess — I want the one that’s already chosen on the Options page.
(Says: Use “avf_logo” filter to change logo.)If I can grab string with image, I don’t have to manually set it for any new site.
This would be far preferable.I have the code to change the login page — but have to manually go out and find string representing the Logo for any new site.
Can you direct me how to find that string representing the logo image, please (hope, hope)?
Presume the “getter” would be the same for any site using Enfold.
Thank you!
Great, Ismael!
I used the following css derived from yours (which I would have NEVER figured out). Looks very nice — but I tried to move the second row’s arrows down a little and can’t figure out what to tweak. I thought top: 23% might be it, but don’t see that that does much of anything.
Here is my css derived from yours:
.gr-custom.gr-custom-1 .av_textblock_section ::after {
content: ”;
position: absolute !important;
color: #fff !important;
display: block;
z-index: 99999999999999999 !important;
overflow: visible !important;
visibility: visible !important;
font-family: ‘entypo-fontello’;
left: auto!important;
top: 23%;
width: 0;
height: 0;
border-bottom: 30px solid transparent;
border-top: 30px solid #e8e8e800;
border-left: 40px solid #539550;
right: 180px;
}
.gr-custom.gr-custom-2 .av_textblock_section ::after {
content: ”;
position: absolute !important;
color: #fff !important;
display: block;
z-index: 99999999999999999 !important;
overflow: visible !important;
visibility: visible !important;
font-family: ‘entypo-fontello’;
left: auto!important;
top: 23%;
width: 0;
height: 0;
border-bottom: 30px solid transparent;
border-top: 30px solid #e8e8e800;
border-right: 40px solid #539550;
left: 180px!important;
}Thank you for locating that.
I tried to change the selector multiple, multiple ways and nothing seemed to “appear.”Might you have a suggestion?
It’s a neat effect.
July 9, 2020 at 2:45 am in reply to: Text logo with added image beside text – image ends up UNDER logo text #1229024You are brilliant, Victoria. That was IT!
Thank you so much.
Feel free to close this…and give yourself a gentle pat on the back!
June 29, 2020 at 7:34 pm in reply to: Text logo with added image beside text – image ends up UNDER logo text #1226558Actually, meant to ask IF I could possibly make containing element or something else slightly wider to stop wrapping activity. Css with nowrap perhaps?
Suggestions?
No, for any site, would like to find the file location of the logo that is set within theme options.
I would like to use this to show the proper logo on the Login page. I currently have to set that logo manually. It would be nice to know the code to set it for ANY logo on any site.
I see this code…which looks like it should show me that…but since I am within the child theme, I don’t have the avia_base_url variable.
$output .= avia_logo(AVIA_BASE_URL.’images/layout/logo.png’, $addition, ‘span’, true);
echo $output;1. Will this give me the file of the logo set within Theme > Options?
2. How can I use avia_base_url within the child theme?
3. Any other workarounds to achieve this — i.e., finding the file that contains the logo set within Theme > options?Thanks for your thoughts.
Feel free to close this. And thanks!
June 27, 2020 at 8:38 pm in reply to: Text logo with added image beside text – image ends up UNDER logo text #1226132I can’t make containing element or something else slightly wider to stop wrapping activity. Css with nowrap perhaps.
Please close rthis if desired.
Exactly what I’d hoped. You may close now.
June 26, 2020 at 11:32 pm in reply to: Text logo with added image beside text – image ends up UNDER logo text #1225992Doesn’t show properly in that message.
Good News for the World 🌎
That is what SHOULD look like.
June 26, 2020 at 11:30 pm in reply to: Text logo with added image beside text – image ends up UNDER logo text #1225991Logo Should be Good News for the World 🌎
Only in place of emoji should be the image you see on the page.
Should be words, followed directly by imageRight now, on the page, you see (incorrectly)
Good news for the world
🌎I.e., the logo (represented by emoj) is incorrectly UNDER not correctly BESIDE the words.
Perhaps area needs to be widens because it is causing wordwrap.
Any idea what css would be to solve this?
June 25, 2020 at 9:24 pm in reply to: Put description or subtext into menu-button-colored area #1225661Looks great! Still playing with it before writing it up. You can, however, close this issue. Thanks so much for your expert help!
Sorry…I realize I haven’t been asking you to close issues. Please close this one. Thrilled.
You can close. It’s solved!
June 24, 2020 at 11:15 pm in reply to: Text logo with added image beside text – image ends up UNDER logo text #1225372In Functions.php, looks something like this:
add_filter('avf_logo_final_output', 'avf_text_logo_final_output'); function avf_text_logo_final_output($logo) { $link = apply_filters('avf_logo_link', home_url('/')); $logotext = '<span class="logo-span span-1">Good </span><span class="logo-span span-2">News </span><span class="logo-span span-2">for the</span><span class="logo-span span-3"> World</span><img src="https://goodnewsfortheworld.com/wp-content/uploads/2020/06/book-and-world-pinged.png" style="width:40px;">'; //"LOGO TEXT"; $subtext = ""; $logo = "<span class='logo'><h1><a href='".$link."'>".$logotext.$subtext."</a></h1></span>"; return $logo; }
June 24, 2020 at 11:12 pm in reply to: Text logo with added image beside text – image ends up UNDER logo text #1225371I meant IMAGE — there’s an image added to the text, at the end.
I think a gremlin crept into my browser and changed that! You are 100% correct. Haven’t changed it yet, but see exactly where to change it. Really puzzled as to when I changed that — but I certainly did!
Thanks for your insight, Rikard. Problem solved.
Now I just need to get rid of that gremlin!Thank you, Guenni007 — always love your very detailed replies. Worked like a charm.
Appreciate your very timely response.
I had thought there was a checkbox somewhere in Enfold theme options that would do this — but your instructions made this just about as fast as checking a checkbox — and it lets me see how I could alter it for different effects.It was great!
Perfecsh.Jordan! Thank you so much…exactly what I’d hoped!
Unjunking.com
In desktop mode you can see descriptions inside rounded menu items.
When switches to mobile menu style…descriptions don’t show any more.Does it need special css maybe?
Thanks for checking it out.
Unjunking.com
When shows mobile menu, would like site logo at top above mobile menu items.Thank you…maybe not easy after all?
June 15, 2020 at 9:53 pm in reply to: Subtext under logo — how make adjust horizontally when page changes #1222825Thanks again fr your patience. Closing this now.
June 13, 2020 at 6:38 pm in reply to: Put description or subtext into menu-button-colored area #1222390Mike…so so much better! Clever.
But I’m not properly parsing your instructions, I fear.
June 13, 2020 at 4:19 pm in reply to: Subtext under logo — how make adjust horizontally when page changes #1222378Okay, but my quandry is…yes, I can rethink design…but how does a text block automatically make text less wide and longer when the screen gets narrower.
I there some css from that that I might use?Just trying to understand the why…
Thanks for your time and counsel on this!
Rikard, I found out PART of my problem. I had Grid Row (not color section, sorry), containing two cells. Each cell contains a textblock (which also includes within it a button).
The part of the solution that I was able to find was that the CELL includes a vertical align dropbox…and I had chosen middle. I now have chosen bottom and the textblock went down further in the cell.
However — it doesn’t go down far enough. The bottom of the image is dark — and is better contrast to the type.
I would like to know the css that will drop the textbox even lower on the cell/image to where the dark purple is (on the left one, anyway.)
Can you tell me how to move the textblock/button down further, please?
Here is my tester page at present:
https://goodnewsfortheworld.com/halved-page-with-columns-tester/Sorry…that would not include a …
should have been #top div.avia_textblock{….June 8, 2020 at 9:10 pm in reply to: Subtext under logo — how make adjust horizontally when page changes #1220647Victoria, thanks. I don’t really see much improvement.
Would I be better off adding a widget to header insteead of echoing a tagline? Would that make any difference?
Would going into the header.php and putting in the tagline be better?Please give me your counsel on this.
I would like to know how to do this properly for the current website — and for future websites.
Imagine others will have longer than average tagline.Thanks for your response!
The entire tagline disappears when I try to alter its width.
(I have removed whtie-space: nowrap.)June 6, 2020 at 12:07 am in reply to: Subtext under logo — how make adjust horizontally when page changes #1219969Sorry…no emphasis intended…got stuck in caps lock!
June 6, 2020 at 12:06 am in reply to: Subtext under logo — how make adjust horizontally when page changes #1219968Thank you.
I have removed the nowrap from the css statement, AS YOU NOTED.The subtext now has immense vertical spacing when it “breaks” into multiple lines.
You will see this in responsive testing for Ipad versus Desktop.
Ipad subtext will be in orange, Desktop in green.How can I remove the huge vertical spacing?
What might I try?
-
AuthorPosts