How to remove link from header navigation within the Astra theme for wordpress? - wordpress-theming

Made a wordpress website with the Astra theme and I want to remove a link from the header navigation because I only want my logo to be the link to the homepage. I haven't found any working solutions yet.
I have already looked through the backend of the theme and wordpress but I can't seem to find it anywhere. I also went through the code but that didn't get me anywhere either.

If you could take a screenshot of the specific link element that you are trying to remove that might help me understand better your situation to I can better assist you. That said, here are a few observations that might help you achieve what you are looking for.
From my end, when I install the Astra theme locally I only see two links in the navbar (header): 1) The Brand logo link (the link to the website's home page) on the left and 2) The "Sample Page" link to the only page (the default sample page) I have in my WordPress development website.
If what you are trying to do is remove page links in the navbar (header), then it looks like to me that the free version of this theme has relatively limited customization options and by default the navbar shows your published pages as navbar links (links on header area).
So as is, I think you have two quick options:
1) Disable the menu altogether, which will leave your navbar (header) with the Brand Logo link only. You can do that in the following way:
Go to:
Appearance -> Customize -> Layout -> Header -> Primary Header
Then..
Check off "Disable Menu" checkbox option. Then press the "Publish" button at the top to save this change.
From what I can see, this basically removes the navbar links on the right and leaves the Brand logo link to the website's homepage on the left only. This sounds like what you were trying to do although I am not entirely sure that is the best solution.
2) You can also simply be mindful of the way the free version of the them works with respect to the navbar (header), which, as I mentioned above, seems to display your published pages as navbar links. With that in mind, you should be able to influence what gets displayed as your navbar (header) links by adding/changing/removing your PAGES through the "Pages" from your WordPress Admin Dashboard menu. For example, in my case, if I wanted to remove the "Sample Page" navbar (header) link, all I need to do is remove or set the page visibility to "Private". You can do that like this:
Pages -> *Select Specific Page that comes up as navbar (header) link, in my case "Sample Page".
Then..
Press "Move to Trash" button. OR simply click "Public" next to where it says "Visibility" and then select "Private" from the drop-down. Make sure you save the changes to the page as per the usual page editing process.
I hope this helps you with your quest. And if this does not quite help you with what you were trying to achieve, please do add a screenshot so I can get a better idea of what you are looking to accomplish.
Cheers!
Arty

Related

How do I add a link back to my main webpage from a page written with mkdocs?

I am building a general website that also has a documentation page. For the docs page I'm using mkdocs. I would like a link in the docs page, ideally in the top right corner, that goes back to my main webpage. I know how to put links inside the docs, but I'd like this to appear like a header. Is there a way to do this?
No, this is not possible at this time. However, this is the subject of issue #989 and may be added in the future.

Regarding WordPress custom homepage

This is more of a process question than coding. I have a custom homepage with logo, menu, footer similar to other pages. But there are few other contents which are different in the homepage, as usual, i.e, a title, a description div, a social links div and a few more, which are only in the home page.
Now the question is, since I want the admin to change this dynamically, how should I easily implement this for the site owner. Should I make a top-level menu named Homepage in WordPress dashboard and add all these meta boxes (with title, description, social fields) on that admin page so that he can fill this in from the back-end or make a custom post-type with the mentioned custom fields? Or should I add a menu under appearance with the relevant fields to be filled.
I am confused about the standard way. I am new to WordPress and just learning. This clarification will help me get a pre-idea. I completed the HTML and now converting the site to WordPress. Just give me a general overview please, nothing detail, I'll get the rest done. I would like to know the difference between the options mentioned above in a nut-shell (what is for what actually) and what is the standard way to add the custom home page fields for the site admin to input page contents easily.
Thanks in advance.
You would need to create a static front page.
https://codex.wordpress.org/Creating_a_Static_Front_Page
Basically you can create a standard page and then from wordpress customizer make that page a front page. Client will edit it from the back end just as any other standard page.

changing html in Galauness template

acausedesbrunettes.com and I am trying to change the HTML code for the navigation bar (home - category) into the individual pages "events" "fashion" "food" "travel" so that my posts using the #events, #fashion, #food, #travel appear on these individual pages. Can anyone help me in how I have to entry this in the template's HTML?
I would also like for the thumbnails to be bigger; how can I adjust this?
And if you place your mouse on a post you see the "comments" section, I would also want to delete this so that the text of the post istelf only shows.
To change the navigation bar, you'll want to use your WordPress admin area, instead of changing HTML code (you could change the HTML code, but you would have to dig and dig to find where it is in the PHP files in your site's directory). Hover over "Appearance" and select "Menus".
For the size of thumbnails, use CSS in the style.css file (hopefully you're using a child theme). And to remove comments, try a plugin called "disable comments".

Main page change through Mediawiki:Mainpage url doesn't work on Mediawiki 1.22

I've installed mediawiki 1.22.5 and I've tried to change the main page through the Mediawiki:Mainpage url to another page but It doesn't seem to work!
What I do is edit the http://www.mysite.com/en/index.php?title=MediaWiki:MainPage and write in the text window the name of the page I want as the main page (I've even copied/pasted it to make sure it is written correctly!). However when I click on the logo it takes me to the default main page, not the one I wrote in Mediawiki:Mainpage.
I can change the main page link in the side-bar but the problem with the logo remains.
And I don't want to create just a redirect as it is not elegant on the main page.
Any help is appreciated!
MediaWiki:MainPage should change also the target of the logo link. If it doesn't, my first guess would be extensive caching.
Is your wiki public? Can you provide us with an url?

Weebly - Adsense in the vertical menu

I am using weebly as my website builder. I am not able to put Adsense advertisement in the vertical menu - I am only allowed to put it in the content window if I use the editor.
I assume I will have to modify the css/html and create content panel in this area (see screenshot) but unfortunately I have no idea how can I do it. Any ideas please?
Put an adsense ad under the navigation menu seems to be impossible without modify the HTML and CSS code.
To do it, you just have to export your theme (Settings > Un-published > Download the archive) and import it (Design > All themes > My Custom Themes > Import theme). An advice, to import the theme with success, read the recommandations because, otherwise, you will have error messages. After, edit the navigation menu in your new custom theme, add your adsense code, probably, in the #sidebar div and save modifications.
I hope I could help you and say me if you have any other problem.
You can insert anything on your vertical menu. I've done that 100%. I was able to insert a search button on the navigation bar and surprisingly, you can insert anything on it.
The technique is simple, just place the HTML on the Lay out area under Design Tab. Then insert the CSS on your sites header or on the main-style.css.
This is rather a long tutorial to make it clear to you. Here is my tutorial on how to insert an element to your navigation: http://www.myweeblytricks.com/2014/07/inserting-search-box-in-weebly.html
Good luck!
Another much simpler way would be add the Column element beside your content, and adjust the settings of the Adsense Element to 'Skyscraper'