A few issues with theme
Support Area › Forums › Grassroots › A few issues with theme
- This topic has 4 replies, 2 voices, and was last updated 9 years, 5 months ago by Bill Robbins.
-
AuthorPosts
-
November 20, 2014 at 08:37 #24335amer meknasParticipant
Hello again,
Here are a fwe issues I am having with the theme…
I am having a similar issue to this: https://support.organizedthemes.com/forums/topic/logo-preventing-clicks-on-drop-down/ but adjusting the width or the distance, does not seem to fix it.
Also, I am using the sponsor module to present our projects instead… how do I change the page title (Sponsor) in the front end… (don’t care much about the back-end…) . ..
Thanks for your help,
November 20, 2014 at 09:09 #24340Bill RobbinsModeratorHello Amer,
Let’s see if we can help you out this morning. For the drop-down menu distance, looking at your site it appears that a -33px would give you good results. Since you’re also changing the width of the drop-down, you can adjust both like this:
- Go to your theme options page and choose the Advanced tab.
- Scroll down to the Custom CSS box and add this:
body nav#top-menu ul li:hover ul { margin-top: -33px; width: 250px; }
- Update your settings.
That should move the drop-down up as well as make it larger for you.
You can also change the URL slug for “sponsors” to something else. It will have to be a lowercase and without spaces. WordPress only allows its editor to edit some files, we’ll need to install a plugin called WP Editor in order to make this change. Once the plugin is installed and activated, go to the Appearance section in your Dashboard and choose themes. Just for a bit of security, activate the TwentyFourteen theme while you’re editing. Then click on Theme Editor in the Appearance section.
In the top right there will be a drop-down menu where you can select another theme to edit. Choose Grassroots from that menu. Then look on the right hand side and you’ll see the files and folders in your theme. Click on the “includes” folder and then the “post-types” folder and lastly select the sponsors.php file. Scroll down to line 29 which should look like this:
'rewrite' => array( 'slug' => $sponsor_slug ),
replace
$sponsor_slug
with'project'
making sure to include the single quotes. The line should look like this:
'rewrite' => array( 'slug' => 'project' ),
and save your changes. Now go back to themes and preview the grassroots theme. If all went well, the theme will preview normally. If not the screen will be white and you’ll need to go back and double check your edits.
The last step is to go to the Settings section in your dashboard and choose Permalinks. Select the Post Name options and update your settings.
That should let you change the “slug” from sponsor to project.
Let me know if you have any questions,
BillNovember 20, 2014 at 15:29 #24359amer meknasParticipantThanks for the help…
the menu issue works now 🙂 I did try that, but for some reason, it just would not budge 🙂 thanks
About the page title, I did the changes as mentioned, but it is didn’t work for some reason… the page still displays the title Sponsor http://www.dawanet.ca/wp/sponsors
when I go to the domain: http://www.dawanet.ca/wp/projects it gives me that it was no found…
all the other links work though: http://www.dawanet.ca/wp/projects/uia for example shows the project page..the page that shows all the projects still has the sponsor title and domain for some reason..
If I go to http://www.dawanet.ca/wp/sponsors/uia it directs me to http://www.dawanet.ca/wp/projects/uiaNovember 20, 2014 at 15:33 #24360amer meknasParticipantnever mind that last part 🙂 figured it out… I just had to change the page information from sponsors to projects 🙂 thanks
November 20, 2014 at 15:34 #24361Bill RobbinsModeratorGlad that got it for you Amer. Thankfully changing a page title is much less involved 🙂
Have a great afternoon and let me know if you need anything.
Bill
-
AuthorPosts
- The topic ‘A few issues with theme’ is closed to new replies.