I have a few questions 2 are menu related and the other are photo problems. The website is for Newspaper Publication, so I need things to be presented in a certain manner.
I tried to use the mega menu for the Sports page on my site, I was unable to to get it to function in the manner in which I want. I need to be able to change where the location of the mega menu items go to, (Under my sports page/category I have a whole list of sports like basketball, baseball, football, etc.) at the moment mega menu will only take you to the category page of a sub menu item. I need it to go to a actual page not a category (for example when I hover over sports and the menu flies out, it shows the different types of sports but when you click on that sport, it goes to that sport category page instead of the sport page I have set up) I need to be able to the actual page instead of the category because when it goes to the category page all the content from that category is displayed all on one page and I have no actual way to change the category page.
The other menu issue I have is that I need help to be able to display a second menu on certain pages and or only display certain menu items on certain pages. How do I go about doing that?
I’m also having the problem of having my featured images being cut off when they are displayed on various pages, they are being cropped in weird spots and it makes them look terrible. How do I correct this?
On cropping, we ran into this also.
The theme, like most now, use WordPress built-in functions for images based on “featured image” and don’t use a smart plugin as things like the venerable TimThumb used to do. WP doesn’t seem keen on baking some of that stuff in, sadly.
However, I believe you can edit the image size functions in the theme, much like I change the default compression myself from 90 to 50.
So, since WP 3.9 can set the crop position when you ´add_image_size´
http://codex.wordpress.org/Function_Reference/add_image_size#Crop_Mode
eg.,
add_image_size( 'custom-size', 220, 220, array( 'left', 'top' ) ); // Hard crop left top
so, while the theme runs on default; you could edit the function to always crop from left top, or bottom up, etc.
Hi,
Thanks Chris!
@press15
Regarding your first menu questions please note that is the way the mega menu works and was designed and to change as you’ve noted and need, you will need additional customization which are not easy to be done and you would need custom work for that.
You could try to do this by creating a new category and assign the posts you want to it then add it to the menu, assign it to use mega menu the add your custom url which directs it to the page you want in the label filed, like this: http://screencast.com/t/yy4WjpW1U
Into the menu you will also have generated the default anchor tag will the category url but you can remove it via css just for that specific menu item and have it look like this: http://screencast.com/t/I0UTFKTA
It’d not an ideal solution but could help you do this.
Regarding your other menu question, the menu items can be added to the menu then use the unique css class that was added to each menu item you create and hide it via custom css and display it just on pages you want it to appear.
Ex: http://screencast.com/t/tQfsY85DULLi
You can use your browser inspect toll to get the menu item unique class: http://screencast.com/t/GXbtsLKu4OC
Fore the images, Chris is right, the theme uses WordPress cropping so I suggest you try it’s solution.
You can also find more info about the image size fucntion here: http://codex.wordpress.org/Function_Reference/add_image_size
Thanks