31
Xman04
Re: How to stop menu items from overlapping graphic?
  • 2007/6/23 12:47

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


Quote:
 

?


My hope was to set this easily in the CSS code. I don't think that I can use   in the relevant CSS stylesheet settings (although, I could be wrong about that).

Quote:
Just a thought, but have you downloaded that theme and taken a peep at the .css file?


Yes, I have. I've actually achieved the desired affect in other themes too (just using the CSS), but I can't with this theme for some reason. I'm not sure what I'm missing. Every piece of relevant CSS code looks the same between the relevant themes. I could probably set the graphic in the left column css code, and then move the menu relative to that, but then the graphic would be showing up in non menu areas too, which I don't want.

Quote:
I think that you have to play with the stylesheet.
Try to play with margins or padding-left, maybe taht will do the trick


I've played with the stylesheet quite a bit, especially the margins and padding. The problem is that any margin or padding changes I make are moving the graphic and menu items text together, which keeps them overlapping. Text-align does the trick if I use the right and center settings, but I want it left aligned.

The funny thing is that if I set the graphic in a multimenu menu block for each menu item, instead of the theme style.css, it works fine. However, it is a pain setting the graphic for each menu item, and it won't apply to menu blocks that are not part of multimenu.

Anyway, I'm quite puzzled about this. It is probably something very simple that I'm missing, because my knowledge of CSS is still limited. However, it seems that I've tried all the obvious things so far, but without success.



32
Xman04
Re: How to stop menu items from overlapping graphic?
  • 2007/6/22 3:36

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


Quote:
Bluehue's creator, jmorris, is very active on this site


jmorris has great themes! Jim, I wish that you would give an online course on beginning, intermediate, and advanced theme design! However, I know that you are very busy helping to get XOOPS back on track!



33
Xman04
Re: How to stop menu items from overlapping graphic?
  • 2007/6/22 3:26

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


Quote:
align: right;?


Text-align: right; and text-align: center; will move the menu items to the right of the arrow graphic. However, I want the menu items to be left aligned. The problem is that when I keep it left aligned, there is no space between the arrow graphics and the beginning text of each menu item. The beginning text of each menu item is overlapping the arrow graphic.

If you go to the 7dana-xred theme at http://theme.xoofoo.org/index.php, the menu at the top is what I'm striving for. There is a red arrow to the left of each menu item. I've done that with the bluehue theme (moved the arrow the left), but I can't make a space between the arrow and the beginning of the menu item text.

This is driving me crazy, because I've done it before with another theme that I modified. I know it must be something very simple that I'm missing.



34
Xman04
How to stop menu items from overlapping graphic?
  • 2007/6/21 21:23

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


I'm using the bluehue theme, and I've moved the menu arrow graphic from the right to the left side of the menu. I was able to do that successfully.

However, the problem is that the menu items are overlapping the arrow graphic on the left. I've experimented with margins, padding, and other things. However, I can't figure out how to get the menu items to display to the right of the arrow (when the arrow is on the left), instead of on top of the arrow.

Here is the CSS code for the main menu.

td#mainmenu a {
display: block;
margin: 3px;
padding: 3px;
border-left: 4px solid #999;
border-bottom: 1px solid #999;
background: url(images/go.gif) no-repeat left;}



35
Xman04
Re: Restaurant theme
  • 2007/6/20 2:21

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


Hi rplima2004,

Thank you for offering your images.

Unfortunately, I don't have the photoshop software to work with the images. I probably should spend some time looking for a photo editing software tool.

Dave



36
Xman04
Re: Restaurant theme
  • 2007/6/18 22:35

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


Hi Steve,

Thank you for the links.

During the past couple of days, I've looked at the links you provided and did a search for other restaurant sites and food magazine sites.

I like www.cookinglight.com, www.saveur.com and www.olivegarden.com. I think that the color/graphics themes on those sites are fairly neutral and could apply to many different types of restaurants or food magazines.

It would be helpful if there was an area in the right portion of the header (to the right of the logo), where block photographs (maybe 3 small blocks) representative of the type of restaurant or food type could be easily placed. This way, XOOPS users could easily customize this by just changing the photographs, without completely redesigning the header/logo area. A simple text logo could be created and placed against a white header background, with the photographs to the right being the other part of the logo. This would be very flexible for people like me who have no artistic talent! One of my biggest issues when developing a site is trying to make a suitable logo.

Instead of having the banner to the right of the logo (which would cover over the block photos), the banner area could be above the header/logo area. Maybe even provide space where two banners could be placed side by side

Anyway, those are just a few of my thoughts.

Dave



37
Xman04
Re: Restaurant theme
  • 2007/6/16 19:38

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


Thank you for the list of themes. There are some great themes in both lists, and I've used a few of them in the past. However, for this particular project, I want to create a theme that has more of a food or restaurant context to it.

Unfortunately, my artistic skills are almost zero, which is why I was looking for something with most of the work already done.

Dave



38
Xman04
Restaurant theme
  • 2007/6/16 4:15

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


Anyone know of any existing restaurant type themes?



39
Xman04
Re: an Ajax approach in xoops
  • 2007/6/7 21:23

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


Great work!

I was just searching on the web to see if there was anything about integrating AJAX with XOOPS, and I came across your demo site. This is truly exciting work, and your results are very impressive.

The combination of AJAX and XOOPS would put XOOPS truly on the cutting edge of CMS systems.

I hope that this area of research and development continues.

Dave



40
Xman04
How to replace user name with real name in smartsection block??
  • 2007/6/6 21:29

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


I want to replace the user name with the poster's real name in smartsection's Recent Items (Detail) block.

The template file for this block is smartsection_items_recent.html.

I'm thinking that I need to replace <{$item.poster}> with something else, but I'm not sure what. I see the poster's real name used in other areas of smartsection, but the code in those sections does not seem to work in this particular block.

Any suggestions?

Dave




TopTop
« 1 2 3 (4) 5 6 7 ... 16 »



Login

Who's Online

225 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits