This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Pages: 1 - Last Post: 5 Jun 26, 23:37 Last Post By: snjohnsen Threads: [ Previous | Next ]
snjohnsen

Posts: 10
Registered: 13-Jan-2009
Issues with displaying the text
Posted: 4 Jun 26, 22:41
 
  Click to reply to this thread Reply
I have been trying the Embed skin on my website. The actual process of getting to work on the site was very easy. I just copied those two lines of code into the respective places and that was it, it worked.

However, I have been having some issues with the text.
First the title, initially I did not want to include a title because there was already a title on the webpage. But not having a title just defaults to whatever I called the project in jAlbum. So I included a title in but it appeared quite large on the webpage. I noticed on inspecting the page that it takes on the attribute of Heading 2 which on my site was quite large and as I clicked on a folder the folder title at the top of the page became Heading 2. As some of the folder names are quite large I had to reduce the Heading 2 attribute on my website. That was no big deal because I wasn't using that attribute much anyway.

Secondly is the description, I thought I could include a description and do away with the text on the webpage but you can only change the text size in the skin. That's okay but it boxes it in to the left-hand side of the page. And for some strange reason it also increases the font size of the folder titles. If I make the font size of the description 25px the folder title changes to 28.125px which is way too big.

Ideally, I would like to be able to change the title, description, and folder titles independently but for the moment it works far better than the iframe method.

So you can understand what I am trying to describe I am including a link to the relevant page of the website with the description set to 25px and the corresponding increase in the folder titles.
https://redkiteramblers.uk/Gallery.html
Laza

Posts: 1,527
Registered: 6-Sep-2005
Re: Issues with displaying the text
Posted: 5 Jun 26, 08:47   in response to: snjohnsen in response to: snjohnsen
 
  Click to reply to this thread Reply
It's going to be a continuous battle against the WP theme styles spilling into the gallery. Some WP themes reset the base font size to 10px, just for the fun, but this is unreadable. So I had to adjust the text size relative to the post's paragraph font size. But this brings other inheritance issues, e.g. when the headings are defined independently of the paragraph sizes. I'll check why it behaves like this in this theme, and will try coming up with a solution that works on most themes.
snjohnsen

Posts: 10
Registered: 13-Jan-2009
Re: Issues with displaying the text
Posted: 5 Jun 26, 23:37   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
The website does not use WordPress, I did use WordPress some years ago but gave it up in favour of a simpler approach. The site uses Nicepage which is basically a drag and drop construction site, It works well but the underlying code is somewhat complicated.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums