Welcome to Geeklog Thursday, September 19 2019 @ 03:31 pm EDT

Geeklog Forums

Style sheet for links in menu?


Status: offline

tAng

Forum User
Newbie
Registered: 15/03/04
Posts: 13
I am trying to set up Geeklog to have the menu links differant then rest of page but there is presently no way to change links without changing whole sites links to what is defined in the stylesheet.

Is there a way to make it so the links in the left and right blocks can differ from rest of page. Any help would be great!

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
Changing the menu links: do you mean the topic links, ro the menu in the header, or do you use a menu-plugin?

About changing the left/right blocks: most themes have separate leftblocks and rightblocks templates. See in the directory of your current theme: leftblocks.thtml and rightblocks.thtml.
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

Status: offline

tAng

Forum User
Newbie
Registered: 15/03/04
Posts: 13
Basically I have the header and footer files in place that I would like but no way to change link color within them. So if they are blue the rest of the pages links must be blue as well.

The layout of the menu navigation is fine, just can not determine how to change the color of the links. Hopefully this makes more sense.

Basically I am looking for a way to change color of the links for the blocks, but have main content area of page use a differant color scheme for the links.

Status: offline

geKow

Forum User
Full Member
Registered: 12/01/03
Posts: 445
you could wrap the "menu"links in span tags and change the colour in the stylesheet like this:
PHP Formatted Code

<span class"menuitems"><a href=".....>Link</a>

Stylesheet:
.menuitems A { colour: somecolour; }

hth

geKow

Status: offline

tAng

Forum User
Newbie
Registered: 15/03/04
Posts: 13
One more question! Basic search function just brings me to the advanced search page when I use the following code:

&lt;form action=&quot;/search.php&quot; method=&quot;get&quot;&gt;&lt;input type=&quot;text&quot; name=&quot;query&quot; class=&quot;menusearch&quot; size=&quot;15&quot; maxlength=&quot;255&quot;&gt; &lt;img src=&quot;images/search.gif&quot;&gt;&lt;/form&gt;

I appreciate the help guys. I think once I grasp these last few things I will be able to actually answer questions rather then ask them Razz


Status: offline

Turias

Forum User
Full Member
Registered: 20/10/03
Posts: 807
Try adding the following to the inside of your form tags:

PHP Formatted Code
<input type="submit" value="{button_search}">
<input type="hidden" name="type" value="all">
<input type="hidden" name="mode" value="search">

 


If you want that image to act as a search button, you'll have to look up the HTML for that.

All times are EDT. The time is now 03:31 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content