Hi
Please provide a link where appear your two logos.
Thread Starter
mkaiit
(@mkaiit)
This is the english side
[Link redacted]
This is the arabic side
[Link redacted]
Plz note the current logo in above links is not the one i am having trouble with. Bcoz above links r live website. I have put the logo i want to add in an image here:
[Link redacted]
U will see the two logos. When i go to englsih site here its the exact same logo which is wrng displayed
Waiting ur replay sir thanks a lot
In your header.php you should create a <div id="logo"></div> just after <div class="container clearfix"></div>.
Thread Starter
mkaiit
(@mkaiit)
Hi Sir
i go to Edit in Appearance
I saw this at the end of header.php file
<body <?php body_class(); ?>>
<div id="page-container" class="<?php if ( ! is_page_template( 'page-template-trans.php' ) ) echo'not-trans';?>">
<?php do_action('mh_before_start_container'); ?>
<?php mh_header_menu();?>
<div id="mh-main-area">
<?php do_action('mh_before_content'); ?>
now i paste under that this code?
<div id=”logo”></div>
or ur replay was general and I should put certain code there?
please advice
thanks a looooot
A trick I use: Open webpage in browser. Right click / View source. Then scroll down thru the source code until you find your logo. (remember, this page is built by php engine on the fly so it is not the page as written). In the source code, when you find your logo, take note of the <div class that it is in. There may be several listed in the tag.
If you can find this class in the css stylesheet, you can adjust the settings there. If not, it may not be there but need to written into php file.
I download a copy of my WordPress site with FTP.
I Windows search the theme folder for the class that I am looking and the search will show me which file it is. I can then open that file and find the class to make the adjustments.
You can also do like he said above, add a div style of your own to the css. Of course you’ll have to name the class in the php header.php file also with something like:
<a>"><img src="<?php echo QUALITY_TEMPLATE_DIR_URI; ?>/images/logo.png"></a>
From this I can easily change the logo image and add size or whatever to the code. It works but not all themes are set up this way. So far it has worked on 3 themes I’ve tried it on. Once you find your logo in the source code, you can go from there.
Different one:
<?php if ( of_get_option('logo')!="") { ?>
<a>">
<img src="<?php echo esc_url(of_get_option('logo')); ?>" class="site-logo" alt="<?php bloginfo('name'); ?>" />
</a>
Here the logo tag includes a class so I can find and edit that or create one of my own in the css and change it here in the header.php. Hope some of this helps a little. I know I had a hard time too when I first started with WordPress. I thinks the software is a lot more trouble than it’s worth. Too much work and aggravation to deal with trying to customize there lame WordPress themes which are only partially built when we get them (Of course they don’t tell you that).
Thread Starter
mkaiit
(@mkaiit)
@stillbluewaters
Thanks a lot appreciate it but not sure I can do this alone. Will try not sure.
@crystl
Plz can u answer me about the code or am lost?
just remember to keep a saved copy of any files you work on so if it doesn’t work or you mess it up, you can put the original file back in place and maybe try again.
If your header worked on one, then it should work on both. Just put the logo image you want on each one and skip the double logo thing.
Thread Starter
mkaiit
(@mkaiit)
@stillbluewaters
Yes it worked on one but the other the image dowsnt look correct bcoz its another language. This is my problem.
I home cryslt can replay me too
I don’t know, tell us what theme you’re using, put the header images on best you can, then post the urls of the two pages here so I can look at the source code and theme files. I don’t even work here π
Thread Starter
mkaiit
(@mkaiit)
Would u plz remove ny sites links and the img i have uploaded? Thanks moderator
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Please don’t re-add the ‘modlook’ tag, I am a moderator and I have pointed you towards the forum welcome regarding our policy on editing posts.
I would recommend you also read the “Contact the Moderators” section.
As most of the moderators are volunteers, we ask that if you need moderator help for any reason, you post your request in the forum and tag it with the term “modlook” – someone will come take a look. Do not abuse that tag, or your account will be disabled.
https://codex.wordpress.org/Forum_Welcome#Contacting_the_Moderators
Thread Starter
mkaiit
(@mkaiit)
I didnt re add it
I just read the topic in codex and i added in tags at the end of this thread. Did i do something wrong? If yes plz advice what shall i do.
Plz if u can delete this topic plz do as its not useful in anyway
Thanks a lot
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Then I apologise, I must have not removed it (the modlook tag) correctly.
We don’t delete topics for that reason.
Thread Starter
mkaiit
(@mkaiit)
Sir
I don’t think i follow what do u mean by not removed it correctly
Can u remove my sites link and my img? I needed the soultion saw i shared them. Plz can u urgently remove them???