Jump to content
marlenecassidy

NextGEN Gallery - how and where do I style the gallery description text on NextGen?

Recommended Posts

marlenecassidy

Hello everybody!

I have asked the question above in the wordpress support forum already (1 week ago) but no one has answered. I am reaching out to this forum since I know that there are really talented people here who may be able to shed some light.

I have a page called "art movements":

http://www.arttrustmasters.com/art-movements/

where using NextGen I have an album with several NextGen galleries.

When you click on a gallery no gallery description shows although you can input the text when you create the gallery. There is no way to display or style the text with NextGen gallery.

I researched it and found the way to get the text to show by adding this bit of code:

<?php echo $gallery->description ?>

to the gallery.php.

I did this with one gallery as a test:

see: http://www.arttrustmasters.com/art-movements/?album=4&gallery=7

Now I can see the description but here is the problem, how and where do I style this text?

I would like to:

1. change the font size and weight of the gallery title; and

2. change the font size, weight and alignment of the description text.

There is no way to do this with NextGen and I can't figure out how to do it.

Anyone know how and where do I style the gallery description text on NextGen?

Thank you very much in advance.

Marlene

Share this post


Link to post
Share on other sites
catrina

You’ll need to use Custom CSS (in Site Options > Custom Code > Custom CSS). CSS that changes the style of a page element consists of two parts: the selector and the attribute.

Selector: Used to select the page element you want to change (in this case, the page element you want to change is your gallery description).

Attribute: Property that determines what kind of change you want (you’re changing the gallery description, so the attributes you want to use are the font style attributes).

To find the selector for the gallery description, you'll need to use Firebug (or Chrome Development tools). To learn how to use Firebug for CSS customizations, please read and follow these instructions: http://www.pagelines.com/wiki/Custom_CSS.

For help with the font style attributes, please see these instructions: http://w3schools.com/css/css_text.asp


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
marlenecassidy

Hello!

Thank you for the information. However this is bit too general for me as I am very new to all of this.

It would be more helpful if you were too send me the sample code so I could go from there?

Thank you.

Marlene

Share this post


Link to post
Share on other sites
marlenecassidy

Hi Catrina,

Thank you so much. It works!

The only thing is that the code you sent me changes both the text of the gallery title and the text of the gallery description.

I want to do 2 separate things here:

1. change the font size and weight of the gallery title; and

2. change the font size, weight and alignment of the gallery description text.

Can you send me the right code to do the 2 separate things above: Gallery Title and Gallery Description?

Thanks again.

Marlene

Share this post


Link to post
Share on other sites
marlenecassidy

Hi,

Yes. But now I have a bigger problem! I can't see to go to my site or even work on it from wordpress.org.

I get these error messages!

Server error

The website encountered an error while retrieving http://www.arttrustmasters.com/wp-admin/admin.php?page=PageLines-Admin. It may be down for maintenance or configured incorrectly.

What is this? How do I fix this? Help!

Go to www.arttrustmasters.com

How do I add an attachment here (screenshots) so you can see what I mean?

Marlene

Share this post


Link to post
Share on other sites
catrina

Did you install any plugins or make any other code changes to your site recently?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
marlenecassidy

I updated a child theme that I had installed and I tried to activate it. Don't remember the name of the the child them though and I can't go in there to see it.

Share this post


Link to post
Share on other sites
Danny

Hi,

If you're receiving this message, login to your FTP client and connect to your site. Once there, go to where your Wordpress files are contained, in there look for a file called .maintenance if there, delete this file and then refresh your website and you should be able to access the file.

If no such file exists, you will need to contact your web host provider, as only they will be able to investigate your issue.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
marlenecassidy

Hi Danny,

Thanks so much for the reply.

Where exactly would this file be?

There is a file called wp-admin and then inside this a file called maint and inside it there is a file called repair.php

How do I attach files here so you can see screenshots?

If you want you can take a look at the files yourself. I can give you the sign-in.

Thanks,

Marlene

Share this post


Link to post
Share on other sites
Rob

The file will be located in wp-content/themes. Remove the child theme you changed.

Do not delete /pagelines

However, things like Mud, PageLines Base, Ignite, etc may be deleted. You can reinstall later.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
marlenecassidy

Hey Smart Egg,

Presto! Thank you! It worked.

Can you tell me how I preserve my current files, (hence why I wanted a child theme), as there is a pagelines update and I don't want to lose the modifications I have made?

Thanks again.

Marlene

Share this post


Link to post
Share on other sites
James B

Hi there,

Using the base child theme you can save you're custom css and any hooks/filters to prevent them being overwritten during an update. You can also use the customize plugin. Details of each can be found here http://www.pagelines.com/wiki/How_to_Add_Customization

We'd also advise you to backup your WP database regularly, there are many plugins out there which can help you with this. Like http://wordpress.org/extend/plugins/backupwordpress/

Also you can export your framework settings via Pagelines>Dashboard>import/export.

Hope this helps


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
marlenecassidy

Hi James B,

Thanks for the info.

Is there not a way to create a child theme from your existing theme ( a clone so to speak ) like other templates have?

I have a already made customizations to several php files and I do not recall anymore exactly what they all were!

Marlene

Share this post


Link to post
Share on other sites
Danny

Hi,

You can not create a child theme based on PageLines Framework and you shouldn't edit any of the core php files, it will most certainly cause errors.

If you wish to use a child theme to customise, then you will need to either use the Base child theme or the PageLines Customisation plugin.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • marshallsolutions
      By marshallsolutions
      For the site https://marshallsirishpub.com I am running
      Wordpress 4.9.4
      Pagelines base theme 1.0.2
      Pagelines Framework 2.5.0
      Specific page not working properly is https://marshallsirishpub.com/photo-gallery/
      I am using NextGen gallery which is activated and showing the pictures in the gallery.  Page was edited to add the carousel and points to the NextGen gallery.  Meta settings and page were both saved.
      When I'm logged into Wordpress I see the following error at the top of the page:
       Carousel 
      THE PLUGIN FOR THE SELECTED CAROUSEL MODE NEEDS TO BE ACTIVATED (FLICKRRSS OR NEXTGEN GALLERY). SETUP PLUGIN →
      The site was hacked last month and it seems the hacker changed some things on the site, but I can't figure out what was changed to make the Carousel not show on the page.
      Thanks.
    • FRevi
      By FRevi+
      It took me a long time to figure this out so I thought I'd share my experience. Maybe someone can verify or benefit.
       
      NextGen is a popular gallery plugin. With the Plus or Pro versions, which have features you need, there is a second plugin called NextGen Pro.
       
      With NextGen Pro activated, you can't add DMS sections, the DMS2 GUI just doesn't let you drag them. However, you can work with the sections that are already on the page.
       
      With NextGen Pro DE-activated, its functionality breaks but you can add sections (e.g., ones containing the galleries you're creating). 
       
      Bottom line, workflow is
      - leave the regular NextGen plugin activated
      - deactivate the NextGen Pro plugin to add DMS2 sections
      - reactivate the NextGen Pro plugin to configure your galleries and publish the site
       
      Hope this helps.
       
      -Frank
    • Mark_Hazeldine
      By Mark_Hazeldine
      Hi,
       
      I recently upgraded Wordpress to 4.0.1 and DMS to the latest version. I also updated to the latest incarnation of the NextGEN Pro product, but now, having done all these changes, I don't see anything but white background on my home page, instead of a nice pro slideshow gallery.
       
      I contacted NextGEN and they said:
      "I'd strongly suggest contacting the developer of the Theme in case they could look into this sooner for you. I'd suggest you or they look into any conflicting code in theme functions, possible JQuery or Javascript, or checking to confirm that the footer is called in the footer.php:

      Has the call to <?php wp_footer(); ?> added directly before </body>"
       
      Is anyone able to help?
       
      Thanks, Mark
    • margie
      By margie
      I have put some images in the rotating banner at the top (the iSlider) as well as some title and text.  How can I move or adjust the size/location of the title and text?  It currently displays in the center and it’s very large.  I would like to make it smaller and move it toward the bottom of the image.  Do I need to insert custom CSS and if yes, where would I do that?  Thank you.
    • spifferoony
      By spifferoony
      I inherited our website admin duties when our web design company went out of business, so I apologize in advance for my lack of technical expertise.  The NextGen Gallery is not loading in our carousel section on one of our pages.  It has been deactivated and reactivated but it still doesn't work.  I see this message:  "The plugin for the selected carousel mode (NextGen-Gallery or FlickrRSS) needs to be installed and activated." 
       
      Page link:  http://www.coastalintlconstruction.com/portfolio/
       
      Version:  2.0.66.27
       
      Help..??  Anyone..? 
×